until icon indicating copy to clipboard operation
until copied to clipboard

Revert to array return type

Open kettanaito opened this issue 3 years ago • 1 comments

The old versions of TS had trouble creating a discriminated union type out of an array tuple if you destructure it. That's not the case for the latest TS 4.9. We can use the array-based pattern again.

kettanaito avatar Mar 06 '23 19:03 kettanaito

Released: v3.0.0 🎉

This has been released in v3.0.0!

Make sure to always update to the latest version (npm i @open-draft/until@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.

kettanaito avatar Sep 20 '25 10:09 kettanaito