TypeScript/tests/baselines/reference/internalImportInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.types

27 lines
381 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/internalImportInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.ts ===
class A {
>A : A
aProp: string;
>aProp : string
}
module A {
2014-08-28 21:40:58 +02:00
>A : typeof A
2014-08-15 23:33:16 +02:00
export interface X { s: string }
>X : X
>s : string
export var a = 10;
>a : number
}
module B {
2014-08-28 21:40:58 +02:00
>B : unknown
2014-08-15 23:33:16 +02:00
import Y = A;
2014-08-28 21:40:58 +02:00
>Y : typeof Y
2014-08-25 19:36:12 +02:00
>A : Y
2014-08-15 23:33:16 +02:00
}