November 2019
Beginner
804 pages
20h 1m
English
One thing that we haven't shown yet is that in TypeScript, you can define custom types.
In TypeScript, as we have already mentioned a few times, type checking is structural; it is strongly tied with the shape of the objects that are considered. When you define the type of an element (for example, variable, field/property, function argument, or function return type), you can use primitive types, classes, interfaces, or custom types.
Read now
Unlock full access