until
until copied to clipboard
Revert to array return type
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.
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.