Releases: unional/type-plus
Releases · unional/type-plus
v5.5.2
Patch Changes
- ce86656: defaults inspector of
inspect()
to console.dir()
v5.5.1
Patch Changes
- b02fbae: Each
extender
will now only execute once,
across the extend tree.
v5.5.0
Minor Changes
-
0247123: Add AwaitedProps<T, P>
This is useful when working with context()
where the props are Promise
Patch Changes
- 6b10935: Allow
context().extend()
to specify type
v5.4.1
Patch Changes
- 4852028: Fix
context()
to support extender
which only needs a partial of the current context.
v5.3.0
Minor Changes
- d7338cb: Add
Then, Else
support to logical types
Patch Changes
- 29cf3b1: Update JSDocs for ExtractFunction
- 29cf3b1: Improve
Equal<A,B>
- 5e21ddf: Update JSDoc for
compose()
v5.2.0
Minor Changes
- 340d54e: Add subject passthrough to object key utilities
Patch Changes
- f0761b0: Mark inspector param as
Readonly<T>
v5.1.0
Minor Changes
- 1a51b1f: add
inspect()
- b203aab: deprecates
PromiseValue
. Use the built-in Awaited<T>
instead.
v5.0.0
Major Changes
-
d43213f: Deprecates isConstructor
.
It cannot reliably detect non-constructors as normal functions and transpiled arrow functions are both returned true.
Add isInstanceof()
to do instanceof
check against unknown
or union types of constructor and other types.
isType()
does not accept AnyConstructor
anymore. Use isInstanceof()
instead (breaking).
Bug Fixes
4.18.0 (2022-11-18)
Features
4.17.0 (2022-11-08)
Features
4.16.0 (2022-10-31)
Features