Practical Generics in TypeScript

Share this video with your friends

Send Tweet

Typescript generics are great for writing code that accepts any type. How do we write code that doesn’t accept any type, but instead accepts a range of types? In this lesson we learn how to use generic classes, interfaces and constraints to be more specific with our Typescript generics.

hipertracker
hipertracker
~ 7 years ago

Can I use TS generics in JSX (tsx) files?

Henk
Henk
~ 7 years ago

Can I use TS generics in JSX (tsx) files? Yes

Ilham Wahabi
Ilham Wahabi
~ 6 years ago

nice course, but sound quality not the best