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
The output of transpileModule did not preserve the value exports from the input module when the identifier also matches a type. This does not happen when compiling the project using tsc or with verbatimModuleSyntax enabled.
🔎 Search Terms
transpileModule
exports
preserve
🕗 Version & Regression Information
This is the behavior in every version I tried, and I reviewed the FAQ for entries about module emit.
Bug Report
The output of
transpileModule
did not preserve the value exports from the input module when the identifier also matches a type. This does not happen when compiling the project usingtsc
or withverbatimModuleSyntax
enabled.🔎 Search Terms
🕗 Version & Regression Information
⏯ Playground Link
Playground link with relevant code
Interestingly the error that is appearing in the playground
Is not appearing for the same code in VSCode for a repo version of the issue: https://github.com/acutmore/transpile-module-bug
💻 Code
🙁 Actual behavior
🙂 Expected behavior
The text was updated successfully, but these errors were encountered: