Crash when calling a JS function tagged @constructor
but no properties
#34346
Labels
Milestone
@constructor
but no properties
#34346
TypeScript Version: 3.7.0-dev.20191014
Search Terms:
Cannot read property 'parent' of undefined
Code
GitHub repo:
https://github.com/brasten/ts-jsdoc-constructor-error
Expected behavior:
Successful compilation (as under previous versions)
OR
a compilation error/warning pointing to the issue (
@constructor
does not match up with usage in this case). It took a while to track down which files in my project were causing the issue, and then more time to figure out what the specific issue was.Actual behavior:
Playground Link: None, not sure how to set up issue in Playground. See Github link above.
The text was updated successfully, but these errors were encountered: