Generics
Generics provide a way to make functions/components work with any data type and not restrict to one.
Generics provide a way to make functions/components work with any data type and not restrict to one.
A short introduction to TypeScript types.