Skip to content
JS

Learn TypeScript: Union Types

Course on Codecademy

View on Codecademy (opens in a new tab)
1 h
LengthProvider's estimate
Beginner
LevelProvider's label
1
Lessons
Dec 2022
Published13 Dec 2022

About this course

Description from Codecademy

About this course Continue your TypeScript learning journey with Learn TypeScript: Union Types. Union types help strike a balance between extreme specificity and being totally unspecific with our types. Combine individual types into flexible combinations with union types. Skills you’ll gain Combine multiple types using unions. Narrow down methods and properties available in a program with type narrowing. Define states within the program using literal types and unions. Notes on prerequisites We recommend that you complete Learn TypeScript: Complex Types before starting this course.

Similar TypeScript courses

  1. Intermediate1 h
    Codecademy1Apr 2024
  2. Intermediate1 h
    Codecademy1Apr 2024
  3. Intermediate1 h
    Codecademy1Apr 2024
  4. Practical Advanced TypeScript

    egghead · Rares Matei · 15 lessons · 4.6 from 56 ratings · Dec 2018

    1 h 3 minSubscription
    egghead154.6 (56)Dec 2018
  5. Advanced Static Types in TypeScript

    egghead · Marius Schulz · 13 lessons · 4.8 from 62 ratings · Nov 2017

    1 h 8 minSubscription
    egghead134.8 (62)Nov 2017
  6. Use Types Effectively in TypeScript

    egghead · Ari Picker · 10 lessons · 4.3 from 86 ratings · Sept 2016

    30 minSubscription
    egghead104.3 (86)Sept 2016
  7. Get Up and Running with TypeScript

    Coursera · Harrison Kong · Mar 2021

    Beginner2 h
    CourseraMar 2021
  8. TypeScript Arrays

    Coursera · Chaitra Deshpande · May 2021

    Intermediate2 h
    CourseraMay 2021

A hyphen means the provider's catalogue does not state the value.

Same topic, nearest in length, up to three from any one provider.

Data read from the Codecademy catalogue on 28 Nov 2026. How the data is collected.

    Compare