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: nightly, with --declaration flag, also reproducable with stable version Code
--declaration
// @declaration class A {} interface Class extends (typeof A) {}
Expected behavior: Report error like without --declaration flag.
Actual behavior: Crashes with Cannot read property 'heritageClauses' of undefined in writeInterfaceDeclaration
Cannot read property 'heritageClauses' of undefined
writeInterfaceDeclaration
The text was updated successfully, but these errors were encountered:
Handle the scenario when heritage clause of interface is not entity n…
cbde25f
…ame expression Fixes #12291
Merge pull request #12363 from Microsoft/declarationsInFilesWithErrors
f626ff7
Fixes for #12291 and #12326: Declaration emit when there are errors in the source file
9ce544e
Merge pull request #12366 from Microsoft/declarationsInFilesWithErrors
707ed69
[Release 2.1] Fixes for #12291 and #12326: Declaration emit when there are errors in the source file
sheetalkamat
No branches or pull requests
TypeScript Version: nightly, with
--declaration
flag, also reproducable with stable versionCode
Expected behavior:
Report error like without
--declaration
flag.Actual behavior:
Crashes with
Cannot read property 'heritageClauses' of undefined
inwriteInterfaceDeclaration
The text was updated successfully, but these errors were encountered: