TypeScript/tests/baselines/reference/mergeWithImportedType.types
Collins Abitekaniza c0573c59c9 Prevent collision of imported type with exported declarations in current module (#31231)
* check for exported type name for conflict

* refactor baseline tests for import/export name collision
2019-09-27 07:55:04 -07:00

13 lines
183 B
Plaintext

=== tests/cases/compiler/f1.ts ===
export enum E {X}
>E : E
>X : E.X
=== tests/cases/compiler/f2.ts ===
import {E} from "./f1";
>E : typeof E
export type E = E;
>E : E