Syllabus

  1. 01Union TypesCombine types with unions: accept values of several types, narrow them with typeof, read union return types, type mixed arrays, use the members all union types share, and restrict values to exact options with literal types.7 lessons
    1. 01Defining Unions
    2. 02Narrowing Unions with typeof
    3. 03Inferred Union Return Types
    4. 04Unions and Arrays
    5. 05Common Members
    6. 06Literal Types
    7. 07Project: Parcel Tracker