Typescript Generics Explained

Learn what generics are and how they are used in Typescript

Ross Bulat
11 min readApr 20, 2019

--

Generics: the ability to abstract types

The implementation of generics in Typescript give us the ability to pass in a range of types to a component, adding an extra layer of abstraction and re-usability to your code. Generics can be applied to functions…

--

--

Ross Bulat

Programmer and Author. @ Parity Technologies, JKRB Investments