We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Hello,
we moved recently from TS 1.4 to TS 1.5 with Visual Studio 2013.
When we have the following class definition:
export class ErrorClass { public foo({bar: number}) { } }
With the Option "Generate declaration files" and "combine javascript output into file" to true, the resulting declaration for this file will be:
class ErrorClass { foo({bar: }: { bar: any; }): void; }
Which is syntactically incorrect: The first "bar" is missing the type specifier (and is of type number instead of any).
This will cause that projects using this declaration file fails to compile.
Can anyone reproduce this? Is there a fix available?
Kind regards, Timo
The text was updated successfully, but these errors were encountered:
duplicate of #3912
Sorry, something went wrong.
Fix is in master now. please give it a try on the nightly build later tonight/tomorrow using npm install typescript@next
npm install typescript@next
No branches or pull requests
Hello,
we moved recently from TS 1.4 to TS 1.5 with Visual Studio 2013.
When we have the following class definition:
With the Option "Generate declaration files" and "combine javascript output into file" to true, the resulting declaration for this file will be:
Which is syntactically incorrect: The first "bar" is missing the type specifier (and is of type number instead of any).
This will cause that projects using this declaration file fails to compile.
Can anyone reproduce this? Is there a fix available?
Kind regards,
Timo
The text was updated successfully, but these errors were encountered: