Skip to content

Releases: unional/type-plus

v5.5.2

23 Jan 21:41
Compare
Choose a tag to compare

Patch Changes

  • ce86656: defaults inspector of inspect() to console.dir()

v5.5.1

19 Jan 06:12
Compare
Choose a tag to compare

Patch Changes

  • b02fbae: Each extender will now only execute once,
    across the extend tree.

v5.5.0

18 Jan 08:28
Compare
Choose a tag to compare

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

18 Jan 06:11
Compare
Choose a tag to compare

Patch Changes

  • 4852028: Fix context() to support extender which only needs a partial of the current context.

v5.4.0

17 Jan 08:28
Compare
Choose a tag to compare

Minor Changes

v5.3.0

17 Jan 01:27
Compare
Choose a tag to compare

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

14 Jan 23:48
Compare
Choose a tag to compare

Minor Changes

  • 340d54e: Add subject passthrough to object key utilities

Patch Changes

  • f0761b0: Mark inspector param as Readonly<T>

v5.1.0

07 Jan 06:06
Compare
Choose a tag to compare

Minor Changes

  • 1a51b1f: add inspect()
  • b203aab: deprecates PromiseValue. Use the built-in Awaited<T> instead.

v5.0.0

14 Dec 00:02
Compare
Choose a tag to compare

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

v4.18.1

09 Dec 09:46
Compare
Choose a tag to compare

4.18.1 (2022-12-09)

Bug Fixes