npm / ts-essentials
ts-essentials
What changed in ts-essentials 10, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
3 deprecations8 new APIs and options1 behavior and defaults5 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initts-essentials 1017 changes
Deprecations 3
Deprecates Exact and renames it to IsExact.
Deprecates NonEmptyArray and renames it to AnyNonEmptyArray.
Deprecates NonNever and renames it to OmitNeverProperties.
New APIs and options 8
Added the PublicInterface<Type> utility type.
Adds OverrideDeepReadonlyOptions to configure passthrough behaviour for built-in types Date, Error, and RegExp per use-case.
Adds Iterable support for DeepWritable.
Adds the JsonValue utility type, along with JsonPrimitive, JsonObject, and JsonArray.
Adds the NonUnion utility type.
Adds the RequireAtLeastOne utility type.
Adds the RequireAtMostOne utility type.
Adds the UnionKeys utility type.
Behavior and default changes 1
Adds Iterable support for DeepReadonly.
Fixes and other changes 5
Fixes DeepPartial for arrays containing a rest element.
Fixes IsTuple for tuples with both optional elements and a rest element.
Fixes Prettify when its type argument is a class with private or protected members.
Fixes assignability for UnionKeys.
Fixes assignability for UnionToIntersection.