Skip to content
JS

Learn Intermediate TypeScript: Generics

Course on Codecademy

View on Codecademy (opens in a new tab)
1 h
LengthProvider's estimate
Intermediate
LevelProvider's label
1
Lessons
Apr 2024
Published30 Apr 2024

About this course

Description from Codecademy

About this course TypeScript generics provide a way to make your code reusable for different data types. This course delves into the use of generic type parameters in TypeScript and explores how to effectively apply them in various scenarios. Through practical examples like a currency converter app, you'll learn how to use generic types in classes, set default types, apply constraints, and utilize keyof types. These techniques will help you create more reusable code. Skills you'll gain Apply TypeScript generics to create flexible functions and classes Set default types and constraints for generics Apply generics for keyof types

Similar TypeScript courses

  1. Intermediate1 h
    Codecademy1Apr 2024
  2. Intermediate1 h
    Codecademy1Apr 2024
  3. Learn TypeScript: Functions

    Codecademy · 1 lessons · Dec 2022

    Beginner1 h
    Codecademy1Dec 2022
  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