Sébastien Rigaux

Type-fest 6: 120 new types and changed contracts

View resource

github.com

Type-fest 6 adds 120 utility types and fixes behaviors to improve TypeScript type accuracy. The release also requires a newer baseline: TypeScript 6, Node.js 22, strict, and exactOptionalPropertyTypes: true.

Several existing types now produce different results. For example, Entry pairs each key with its own value, while PartialDeep recursively makes array elements partial by default. Migrations must also account for removed deprecated types and new defaults for case conversion.

GitHub release graphic for type-fest v6.0.0, with a summary announcing 120 new types and a contributor photo with a dog.