By using Interfaces in TypeScript, you are able to define a set of "rules" or a "contract" for other objects in your scripts. This means you are able to enforce a form of security and safety within your code by, in most cases, requiring an interface type.
In this video we look at the basics of Interfaces and what to expect when you are dealing with them in TypeScript.
For your reference, check this out:
https://www.typescriptlang.org/docs/h...
Follow me on Twitter @dcode!
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
На этой странице сайта вы можете посмотреть видео онлайн Interface Basics - TypeScript Programming Tutorial #7 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь dcode 22 Февраль 2018, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 1,095 раз и оно понравилось 35 зрителям. Приятного просмотра!