Elastic interview question

What are generics in Typescript?