JSDoc, Erroneous "TS2350" for js tagged constructors called with incorrect parameters. #26122
Labels
Bug
A bug in TypeScript
checkJs
Relates to checking JavaScript using TypeScript
Domain: Error Messages
The issue relates to error messaging
Domain: JavaScript
The issue relates to JavaScript specifically
Domain: JSDoc
Relates to JSDoc parsing and type generation
Fixed
A PR has been merged for this issue
Milestone
TypeScript Version: master
Search Terms: jsdoc
Code
Expected behavior:
Actual behavior:
Playground Link:
https://www.typescriptlang.org/play/#src=%0D%0A%2F**%0D%0A%20*%20%40param%20%7Bnumber%7D%20num%0D%0A%20*%20%40constructor%0D%0A%20*%2F%0D%0Avar%20E%20%3D%20function%20(num)%20%7B%7D%3B%0D%0Avar%20k%20%3D%20new%20E()%3B%0D%0A
Related Issues:
#25979
The text was updated successfully, but these errors were encountered: