typescript-generics

Apply when writing reusable functions, components, or utilities that work with multiple types while maintaining type safety.