Wrong declaration file generated for JS + subclass #35932
Labels
Bug
A bug in TypeScript
Domain: Declaration Emit
The issue relates to the emission of d.ts files
Fix Available
A PR has been opened for this issue
Milestone
TypeScript Version: 3.7.x-dev.201xxxxx
Search Terms:
Code
Expected behavior:
Generated
.d.ts
:Actual behavior:
The wrong behavior:
this
, actually the class name.)This behavior cause the error following:
(The parent class is
import('events').EventEmitter
)The text was updated successfully, but these errors were encountered: