Logo

ts-toolbelt

All the types you need for TypeScript

ts-toolbelt completes TypeScript with a collection of more than 175 tested types. This makes it the biggest type collection out there. It's goal is to improve type correctness while adding a whole new set of features to TypeScript. It uses the type system itself for TypeScript to compute more complex types. In other words, its API exposes types that trade CPU & RAM for higher type safety. Goals: - Answer the question to "How do I do this in TypeScript?" - Software that's more type-safe, flexible & more robust - Bring a whole new set of extra features to TypeScript - Types can be combined together to create new ones! - This package aims to be the home of all utility types - Computed types are always readable, like if you typed it - High performance, so it will not bloat TS (~ +2sec, +50MB)

Explore By Topic