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!
Auf dieser Seite können Sie das Online-Video Interface Basics - TypeScript Programming Tutorial #7 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer dcode 22 Februar 2018 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,095 Mal angesehen und es wurde von 35 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!