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
Giving an explicit type annotation for a variadic function:
let t5: (...Array<num>): num = (...arr: Array<num>) => { let var total = 0; for x in arr { total += x; } return total; };
Syntax error
No error
Let the type be inferred
No response
0.85.12
MacOS
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I tried this:
Giving an explicit type annotation for a variadic function:
This happened:
Syntax error
I expected this:
No error
Is there a workaround?
Let the type be inferred
Anything else?
No response
Wing Version
0.85.12
Node.js Version
No response
Platform(s)
MacOS
Community Notes
The text was updated successfully, but these errors were encountered: