TypeScript/tests/baselines/reference/moduleSymbolMerging.types

23 lines
326 B
Text
Raw Normal View History

2014-08-28 01:58:31 +02:00
=== tests/cases/compiler/B.ts ===
///<reference path="A.ts" />
module A { ; }
>A : typeof A
2014-08-28 01:58:31 +02:00
module B {
>B : typeof B
2014-08-28 01:58:31 +02:00
export function f(): A.I { return null; }
>f : () => A.I
>A : any
>I : A.I
2015-04-13 21:36:11 +02:00
>null : null
2014-08-28 01:58:31 +02:00
}
=== tests/cases/compiler/A.ts ===
module A { export interface I {} }
>A : typeof A
>I : I
2014-08-28 01:58:31 +02:00