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!
Sur cette page du site, vous pouvez voir la vidéo en ligne Interface Basics - TypeScript Programming Tutorial #7 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur dcode 22 février 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,095 fois et il a aimé 35 téléspectateurs. Bon visionnage!