TypeScript Express
1Types
1.1Primitive Types
1.2Object Types
1.3Nullability
1.4Checking Types
2Syntax
2.1Variables
2.2Equality
2.3Logical Operators
2.4Iteration
2.5Spread
2.6Destructuring
2.7String Interpolation
2.8Error Handling
3Standard Library
3.1Arrays
3.2Objects
3.3Sets
3.4Maps
3.5Dates
3.6Regular Expressions
3.7Math
3.8JSON
3.9Strings
4Functions
4.1Arguments
4.2Returning
4.3Higher Order Functions
4.4Scope
4.5Context
5Classes
5.1Properties
5.2Methods
5.3Inheritance
6Type Declarations
6.1Constants
6.2Enums
6.3Arrays
6.4Objects
6.5Interfaces
6.6Unions
6.7Generics
6.8Any and Unknown
6.9Guards and Assertions
7Async Control Flow
7.1Event Loop
7.2Listeners and Emitters
7.3Promises
7.4Async and Await
7.5Fetch
8Modules
8.1Imports and Exports
9Exercises
9.1Transactions
9.2Transactions Solution
9.3Price API
9.4Price API Solution

    Unions

    Discriminated unions

    Previous:
    Interfaces
    Next:
    Generics
    Contents
    1. Discriminated unions