You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the emitIsolatedDts option, the subsequent function declaration following an abstract function disappears from the generated .d.ts file. This issue occurs consistently when a function is marked as abstract.
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Describe the bug
When using the emitIsolatedDts option, the subsequent function declaration following an abstract function disappears from the generated .d.ts file. This issue occurs consistently when a function is marked as abstract.
Steps to reproduce:
Input code
Config
Playground link (or link to the minimal reproduction)
https://github.com/mingc00/swc-dts-bug
SWC Info output
Node.js v20.17.0
Expected behavior
index.d.ts should be
Actual behavior
Version
1.7.36
Additional context
No response
The text was updated successfully, but these errors were encountered: