Releases: ts-essentials/ts-essentials
Releases · ts-essentials/ts-essentials
v10.0.0
Major Changes
- b127a8a: Use TypeScript@^4.2.0 because of excessively deep and possibly infinite type instantiation limitation for
PathValue
andPaths
- 26be790: Fixed assignability of Mark* utility types which required removing support of TypeScript@<4.5
- 9935d80: Added
StrictDeepOmit
andStrictDeepPick
that support generic type and removed generic constraint on the
second type parameter ofDeepOmit
andDeepPick
Minor Changes
- 5b7650a: Add variadic XOR, up to 50 generic types
- b127a8a: Implement
Paths
andPathValue
to access object properties, array/tuple indices
Patch Changes
v9.4.2
v9.4.1
v9.4.0
v9.3.2
v9.3.1
Patch Changes
- 0c215b9: Changed the
Tuple
's type implementation to only use a tuple type (instead of a union of a tuple type and an
array type). - 544742e: Fix unique symbol
__OPAQUE_TYPE__
inOpaque
that cannot be used outside of ts-essentials - 4c45165: Improve the object constraint for
NonEmptyObject<T>
to not allow primitives - 66a6169: Improve the
ValueOf
utility type to cover the edge cases
v9.3.0
v9.2.0
Minor Changes
- 5aa1f26: Add
NonEmptyArray
which ensures an array to have at least one item - fa03dda: Add
StrictExclude
, a stricter version ofExclude
- 6b27ee4: Add
MarkWritable
which unsets readonly for specified keys - e76a08a: Add
MarkReadonly
which sets readonly for specific keys
Patch Changes
- 13504d0: Fix
DeepPartial
for normal arrays