TypeScript/tests/baselines/reference/internalImportUnInstantiatedModuleNotReferencingInstanceNoConflict.types

22 lines
305 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/internalImportUnInstantiatedModuleNotReferencingInstanceNoConflict.ts ===
module A {
>A : any
2014-08-15 23:33:16 +02:00
export interface X { s: string }
>X : X
>s : string
2014-08-15 23:33:16 +02:00
}
module B {
>B : typeof B
2014-08-15 23:33:16 +02:00
var A = 1;
>A : number
2015-04-13 21:36:11 +02:00
>1 : number
2014-08-15 23:33:16 +02:00
import Y = A;
>Y : any
>A : any
2014-08-15 23:33:16 +02:00
}