-
Notifications
You must be signed in to change notification settings - Fork 670
Typescript definition files don't support alternate array argument. #136
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
Comments
+1 |
This is turning out to be very difficult, and may not be possible. I'll keep looking at it. One approach involves doubling the size of the declaration files (taking the same approach as the current files). |
Oh, you know what, I think I was already aware of this, sorry! 😳 If it is impossible, maybe we should add something to the docs encouraging people to use the variadic version for type checkers. |
Got it. Today I learned about tuples.
It's verbose, but both versions can be supported. I'll test and pull request soon. |
Hey, well done! Sounds good. |
Going to close this as the conversation has moved to #143 |
This is valid, and used several times in the README, but is not currently supported by definition files:
The text was updated successfully, but these errors were encountered: