The Essential TypeScript Tutorial
Basics
Introduction to TypeScript
Compilation
Data types
Changing values
Operations
Arrays
Objects
Checking the type of a variable in an object
Control of object structure
Controlling object value types
For loop
for-of loop
For-in loop
Functions
Empty function result
Type any
The any type in arrays
Union of types
Type aliases
String literal type
Aliases for concatenating strings
Corteges
Introduction to Tuples
Modifying a tuple
Reading tuple
Optional tuple elements
Destructuring a tuple
Filling the tuple
Transfers
Introduction to Enumerations
Receiving by key
Get by value
Enumeration as a type
Explicit keys
Simplified keys
String enumerations
Built-in types
Data structures
Object structure
Optional object properties
Interfaces
Arrays in objects
Interface as an object type with an array
Complex objects
Objects in objects
Arrays of objects