Releases: ts-essentials/ts-essentials
Releases · ts-essentials/ts-essentials
v10.0.3
Patch Changes
- cc7b838:
ReadonlyKeys<Type>
andWritableKeys<Type>
now return only the readonly and writable keys, respectively,
for arrays and tuples - d6867ea:
Prettify<Type>
returns the same type when the type parameter is a function - bc51ac5:
OptionalKeys<Type>
returnsnever
for primitives and returns only optional indices for arrays and tuples - d0ad79f: Improve
Paths
performance by limiting the depth of paths to 7 (default) - 162fd9d: Add
Paths<Type, { anyArrayIndexAccessor: '*' }>
, a string literal representing a catch-all or "wildcard"
when indexing on arrays.
v10.0.2
v10.0.1
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