TypeScript/tests/baselines/reference/internalImportUnInstantiatedModuleNotReferencingInstanceNoConflict.types

22 lines
966 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/internalImportUnInstantiatedModuleNotReferencingInstanceNoConflict.ts ===
module A {
2015-04-13 23:01:57 +02:00
>A : any, Symbol(A, Decl(internalImportUnInstantiatedModuleNotReferencingInstanceNoConflict.ts, 0, 0))
2014-08-15 23:33:16 +02:00
export interface X { s: string }
2015-04-13 23:01:57 +02:00
>X : X, Symbol(X, Decl(internalImportUnInstantiatedModuleNotReferencingInstanceNoConflict.ts, 0, 10))
>s : string, Symbol(s, Decl(internalImportUnInstantiatedModuleNotReferencingInstanceNoConflict.ts, 1, 24))
2014-08-15 23:33:16 +02:00
}
module B {
2015-04-13 23:01:57 +02:00
>B : typeof B, Symbol(B, Decl(internalImportUnInstantiatedModuleNotReferencingInstanceNoConflict.ts, 2, 1))
2014-08-15 23:33:16 +02:00
var A = 1;
2015-04-13 23:01:57 +02:00
>A : number, Symbol(A, Decl(internalImportUnInstantiatedModuleNotReferencingInstanceNoConflict.ts, 5, 7))
2015-04-13 21:36:11 +02:00
>1 : number
2014-08-15 23:33:16 +02:00
import Y = A;
2015-04-13 23:01:57 +02:00
>Y : any, Symbol(Y, Decl(internalImportUnInstantiatedModuleNotReferencingInstanceNoConflict.ts, 5, 14))
>A : any, Symbol(Y, Decl(internalImportUnInstantiatedModuleNotReferencingInstanceNoConflict.ts, 0, 0))
2014-08-15 23:33:16 +02:00
}