Releases: ts-essentials/ts-essentials
Releases · ts-essentials/ts-essentials
v9.1.0
Minor Changes
- a2ac470: Add
IsAny
which returns true if it'sany
, otherwise false - a2ac470: Add
ArrayOrSingle
- a2ac470: Add
DeepPick
with the validation of the filter - a2ac470: Add
CamelCase
andDeepCamelCaseProperties
for converting it from other cases
Patch Changes
- a2ac470: Properly infer required fields for set, map, array and promise in
DeepOmit
andDeepPick
- a2ac470: Improve
DeepOmit
by removing 4 intersections for objects and applying generic restriction for Filter - 3541ee9: Replace
PropertyKey
withKeyofBase
to toleratekeyofStringsOnly
option in TypeScript - a2ac470: Adapt
OptionalKeys
andRequiredKeys
for union of objects
v9.0.0
v8.1.0
Minor Changes
- 7bf4fdb: Make
DeepRequired
as recursiveRequired
without removingnull
andundefined
Patch Changes
- c463c70: Align
ReadonlySet
andReadonlyMap
inDeepUndefinable
with other sets and maps - 374431f: Fix
DeepPartial
andBuildable
forunknown
- 83458c0: Align
ReadonlySet
andReadonlyMap
inDeepNullable
with other sets and maps - 7bf4fdb: Add difference between
DeepRequired
andDeepNonNullable
in README - ec8d796: Allow only objects to be used in
StrictOmit
- f045817: Fix
DictionaryValues
forSafeDictionary
with number and string literals keys - ec8d796:
StrictOmit
returnsnever
for arrays and tuples
v8.0.0
Major Changes
- 239e7e3: Use
typescript@^4.0.0
Minor Changes
- ab6f68e: Add
StrictExtract
to check the original structure of type and extract it correctly - 239e7e3: Add
MergeN
: you can pass tuple of size N and it will recursively applyMerge
Patch Changes
- b39ce66: Improve readme description about what's this project is all about
- 239e7e3: Add
DeepReadonly
support forunknown
type - 35e73b6:
IsTuple
now works with any tuple length - 239e7e3: Update readme description of
Opaque
v7.0.3
v7.0.1
v7.0.0
Opaque
change order of arguments [BREAKING CHANGE] by @krzkaczorSafeDictionary
make it work with finite types in an expected way [BREAKING CHANGE] by @akwodkiewiczNewable
type by @krzkaczor
v6.0.7
- add
DeepUndefinable
by @akwodkiewicz