-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve TypeScript types by using variadic tuple instead of overloads #9
Improve TypeScript types by using variadic tuple instead of overloads #9
Conversation
Looks like tsd was outdated and didn't support the variadic tuples syntax. Works fine now. |
Looks like one of Cannot find module 'typescript'
Installing the latest Parsing error: Cannot read property map of undefined
Looks like an internal error within xo, perhaps an incompatibility between Upgrading New linting errors
I would have to add a How would you like me to move forward? |
I'll handle the linting stuff. |
Problem
Changes
Use variadic tuple types to support all input lengths.
This is a breaking change in type:
Before:
With variadic tuple:
Tests are passing
References