The Basics of Generics in TypeScript

InstructorAri Picker

Share this video with your friends

Send Tweet

It can be painful to write the same function repeatedly with different types. Typescript generics allow us to write 1 function and maintain whatever type(s) our function is given. This lesson covers syntax and a basic use case for Typescript generics.