TypeScript/tests/baselines/reference/internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.types

24 lines
344 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.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
}
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
}