Photo by Aaron Burden on Unsplash
An Introduction To Typescript Generics
Every programming language needs to be able to encapsulate functionality to be shared across the codebase. Typescript is no different in that, but it implements this feature in a slightly different way than your usual runtime language. TypeScript uses Generics.