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
Let's set I want to declare a type to be an function:
let x: (): num
There is no way to make x (the function sig) optional. The following makes the return type optional:
let x: (): num?
Nothing
To have some way to denote this.
No
Language Design, Compiler
No response
The text was updated successfully, but these errors were encountered:
Duplicates #3115
Sorry, something went wrong.
No branches or pull requests
I tried this:
Let's set I want to declare a type to be an function:
There is no way to make x (the function sig) optional. The following makes the return type optional:
This happened:
Nothing
I expected this:
To have some way to denote this.
Is there a workaround?
No
Component
Language Design, Compiler
Wing Version
No response
Wing Console Version
No response
Node.js Version
No response
Platform(s)
No response
Anything else?
No response
Community Notes
The text was updated successfully, but these errors were encountered: