TypeScript techniques, type design, and gotchas, focused on writing types that help, not hurt.
No articles yet — be the first to contribute!
- Designing types for API responses (and handling the unknown)
- Discriminated unions for state modeling
- Generics that stay readable
unknownvsanyvsneverin practice- Type-safe event systems and form schemas
- Migrating a JavaScript codebase to TypeScript incrementally
- Utility types you actually use (and ones you shouldn't)
See CONTRIBUTING.md for the article format, and copy the template to get started.