Interfaces and Type Declarations
Video Lecture
Description
In TypeScript, Interfaces and Type declarations offer almost the same exact functionality, in this video we explore that idea. An Interface/Type is a structure used for type-checking. An Interface/Type defines the properties and types an object can have.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|
Try it,
1 2 |
|