Duplicate method declarations in generated declaration file for JS file #49200
Labels
Bug
A bug in TypeScript
Domain: Declaration Emit
The issue relates to the emission of d.ts files
Help Wanted
You can do this
Milestone
Bug Report
TypeScript is producing duplicate methods in the generated declaration file of a JavaScript file.
🔎 Search Terms
emit allowJs duplicate methods
🕗 Version & Regression Information
Tried it in two:
💻 Code
main.js (not .ts... works fine in .ts):
tsconfig.json:
🙁 Actual behavior
main.d.ts:
🙂 Expected behavior
The text was updated successfully, but these errors were encountered: