Generics in TypeScript
Generics are like function arguments, but for types in class and function definitions in TypeScript.
Generics always allows us to define the type of a property/argument/ return type value at a future point. it is used heavily when writing re-usable c...
siddhantsiddh15.hashnode.dev3 min read