Please try to reproduce the issue with typescript@next. It may have already been fixed.
TypeScript Version: 3.0.0-dev.20180606 - still fails
Search terms you tried before logging this (so others can find this issue more easily)
transpileModule, 2.9.1
Code
No publicly available repro
This issue was originally raised here
TypeStrong/ts-loader#787 (comment)
until it was realized this was a bug with TS itself. It seems transpileModule is dropping valid, needed imports, which is creating runtime errors
Expected behavior:
Used imports will not be dropped
Actual behavior:
They're dropped
Playground Link:
Related Issues:
Please try to reproduce the issue with
typescript@next. It may have already been fixed.TypeScript Version: 3.0.0-dev.20180606 - still fails
Search terms you tried before logging this (so others can find this issue more easily)
transpileModule, 2.9.1
Code
No publicly available repro
This issue was originally raised here
TypeStrong/ts-loader#787 (comment)
until it was realized this was a bug with TS itself. It seems transpileModule is dropping valid, needed imports, which is creating runtime errors
Expected behavior:
Used imports will not be dropped
Actual behavior:
They're dropped
Playground Link:
Related Issues: