TypeScript/tests/baselines/reference/internalImportInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.types

28 lines
391 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/internalImportInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.ts ===
class A {
>A : A
2014-08-15 23:33:16 +02:00
aProp: string;
>aProp : string
2014-08-15 23:33:16 +02:00
}
module A {
>A : typeof A
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
export var a = 10;
>a : number
2015-04-13 21:36:11 +02:00
>10 : number
2014-08-15 23:33:16 +02:00
}
module B {
>B : any
2014-08-15 23:33:16 +02:00
import Y = A;
>Y : typeof Y
>A : Y
2014-08-15 23:33:16 +02:00
}