-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Tuple types get incorrect contextual type #9901
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
Thanks @mhegazy |
This is caused by removing one of the overloads of |
PR is up at #9997 -- I added an explanation of why this fails there. |
TY for the fix! On Tuesday, August 2, 2016, Nathan Shively-Sanders notifications@github.com
|
TypeScript Version:
Code
Expected behavior:
No compile errors. (It works in the 1.8 playground)
Actual behavior:
Note that the 3rd parameter is correctly detected as a tuple, but the first two are detected as arrays of numbers.
The text was updated successfully, but these errors were encountered: