generics
Also written: generic, angle brackets
Types that take another type in angle brackets to fill in a detail, such as `Promise<number>` for a promise that gives a number. They let one type definition work with many different inner types.
Also written: generic, angle brackets
Types that take another type in angle brackets to fill in a detail, such as `Promise<number>` for a promise that gives a number. They let one type definition work with many different inner types.