Generics is concept used in different programming languages.Generic are used for defining reusable elements such as classes,methods and interfaces. In TypeScript you can define Generic Classes,Interfaces and functions.Generic functions ,generic interfaces and generic classes work with different data types using the concept of type parameters. Type parameter is a parameter which specifies the data type of a generic […]