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

32 lines
427 B
Plaintext

=== tests/cases/compiler/interMixingModulesInterfaces2.ts ===
module A {
>A : typeof A
export interface B {
>B : B
name: string;
>name : string
value: number;
>value : number
}
module B {
>B : typeof B
export function createB(): B {
>createB : () => B
>B : B
return null;
}
}
}
var x: A.B = null;
>x : A.B
>A : unknown
>B : A.B