We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It's possibly to better open TypeScript issue, but since you added tuple length support I ask here.
const func = (x, y) => x + y; const payload: [number, number] = [1, 2]; payload.length // 2 func(...payload); // Expected 2 arguments, but got 0 or more.
Is this supposed to error even if we know tuple's length?
The text was updated successfully, but these errors were encountered:
@goodmind: This bug was reported at microsoft/TypeScript#4130 -- I tried a fix at microsoft/TypeScript#18004, though it was considered too hacky.
Sorry, something went wrong.
@tycho01 thanks, subscribed to both
No branches or pull requests
It's possibly to better open TypeScript issue, but since you added tuple length support I ask here.
Is this supposed to error even if we know tuple's length?
The text was updated successfully, but these errors were encountered: