type-fest
https://github.com/sindresorhus/type-fest
TypeScript
A collection of essential TypeScript types
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
TypeScript not yet supported2 Subscribers
Add a CodeTriage badge to type-fest
Help out
- Issues
- fix: NonEmptyObject should ignore index signatures when checking for required keys
- `Get`: Distribute over unions so a key missing on some members yields `undefined`
- `IfNotAnyOrNever`: Lazily evaluate different conditional branches
- `LastArrayElement`: Fix handling of tuples with optional elements
- `Schema<T>` does not work for keys with `{}` values
- Fix `Schema` to correctly replace `any` and `unknown` fields
- `Proposal:` String length type
- Enhance comparison types to support bigint comparison
- Proposal: Type Trimming for Tuples
- Add `OptionalPaths` type
- Docs
- TypeScript not yet supported