Exported variable 'X' has or is using name 'Y' from external module "Z" but cannot be named. #20657
Labels
Bug
A bug in TypeScript
Domain: Declaration Emit
The issue relates to the emission of d.ts files
Fixed
A PR has been merged for this issue
Milestone
TypeScript Version: 2.7.0-dev.20171212
Code
Expected behavior:
Project compiles without errors.
Actual behavior:
Additional information:
@weswigham fixed the following very similar issues in #19852:
has or is using name
from external module" #5938In fact, before his fix, line 2 of index.ts would also fail.
I've pushed this repro as a project here: https://github.com/robyoder/tsctest
The text was updated successfully, but these errors were encountered: