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
https://github.com/Microsoft/TypeScript/blob/af4a12151c7f1b0cfe6b913d7c092b825cf4f641/doc/spec.md#3.7
following code is invalid.
((x: string) => string) | (x: number) => number)
in 3.7
parentheses are required around function or constructor types in union types.
I think this example should be
((x: string) => string) | ((x: number) => number)
The text was updated successfully, but these errors were encountered:
ahejlsberg
Successfully merging a pull request may close this issue.
https://github.com/Microsoft/TypeScript/blob/af4a12151c7f1b0cfe6b913d7c092b825cf4f641/doc/spec.md#3.7
following code is invalid.
in 3.7
I think this example should be
The text was updated successfully, but these errors were encountered: