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
TypeScript Version: has been that way since at least 2.4
Search Terms:
Code
class Foo { constructor(public foo: string) {} }
Expected behavior:
Treat is as a parameter property. Or at least document this in the spec (related #28395)
Actual behavior:
Treats it as two parameters with a syntax error because of a missing comma.
Playground Link: https://agentcooper.github.io/typescript-play/#code/MYGwhgzhAEBiD29oG8BQ1rHgOwgFwCcBXYPeAgCgAciAjEAS2HQ2gDNEAuafAh7AOYBKFAF9UooA
Related Issues:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
TypeScript Version: has been that way since at least 2.4
Search Terms:
Code
Expected behavior:
Treat is as a parameter property. Or at least document this in the spec (related #28395)
Actual behavior:
Treats it as two parameters with a syntax error because of a missing comma.
Playground Link: https://agentcooper.github.io/typescript-play/#code/MYGwhgzhAEBiD29oG8BQ1rHgOwgFwCcBXYPeAgCgAciAjEAS2HQ2gDNEAuafAh7AOYBKFAF9UooA
Related Issues:
The text was updated successfully, but these errors were encountered: