Skip to content

Release Candidate: Allow for type inference of tuples containing 49 or less elements

Pre-release
Pre-release
Compare
Choose a tag to compare
@supermacro supermacro released this 18 Apr 02:19
· 166 commits to master since this release

I am a simple man - I like my tuples like my coffee; small (but strong). But some of you are out here trying to wreak havoc on the world with very large tuples. Now you get type inference on these too 🙂


This is a fix for #441

The fix allows for type inference on very large tuples (limit of 49).

Given the sensitive nature of the changes made at the type level, I've opted to release this incrementally and as an opt-in functionality for now.

To get this change, you'll need to update your neverthrow installation to use the @beta tag.

> npm install neverthrow@beta

I'll wait a bit before moving this over to default on npm.