TypeScript/tests/baselines/reference/interMixingModulesInterfaces3.types
2015-04-15 16:44:20 -07:00

34 lines
451 B
Plaintext

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