-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
Description
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:
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue