dev-typescript-advanced
Installation
SKILL.md
Advanced TypeScript Patterns
Generics, utility types, and React integration patterns.
When to Use
Use when:
- Creating reusable generic types
- Working with complex type transformations
- Typing React components and hooks
Generics
// Generic pool
class ObjectPool<T> {
private pool: T[] = [];
private factory: () => T;