typescript-patterns

Apply when writing TypeScript code requiring type safety, utility types, discriminated unions, or generic patterns.