Instructor: In this module we'll dive
into a concept called generics.
Generics exist in TypeScript, not in vanilla JavaScript,
so there is no real translation here.
But we can utilize them in TypeScript.
And the concept of generic types
all exist in other programming languages.
Not in all other programming languages of course,
but in some, for example in C Sharp.
Now this course of course is not about C Sharp though.
So let's have a look at what generics are
and what they are in TypeScript
and how we use them there and why we use them there.
Specifically, we'll have a look at what exactly generics are
and why they are interesting and helpful.
We'll then build our own generic functions and classes
because, turns out, we can do that.
We'll then have a look at generic constraints
and what that is and why we would use something like that.
And we'll have a look at a couple
of special TypeScript types,
which also typically are generic
and which we'd ever only really can understand now.
So let's see what we got there.