1×
Become a member
to unlock all features
Autoplay

    Create Your First Generic in TypeScript

    typescriptTypeScript
    ^3.2.1

    Generics can be intimidating when you first come across them if you're unfamiliar with typed languages, but once you wrap your head around them, they're as simple as using a variable in JavaScript. This lesson walks through when and why to create a generic and how to use them in TypeScript.