TypeScript/tests/baselines/reference/moduleSymbolMerging.types
2014-08-28 12:52:44 -07:00

22 lines
316 B
Plaintext

=== tests/cases/compiler/B.ts ===
///<reference path="A.ts" />
module A { ; }
>A : typeof A
module B {
>B : typeof B
export function f(): A.I { return null; }
>f : () => A.I
>A : unknown
>I : A.I
}
=== tests/cases/compiler/A.ts ===
module A { export interface I {} }
>A : typeof A
>I : I