TypeScript/tests/baselines/reference/interMixingModulesInterfaces3.types

34 lines
451 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/interMixingModulesInterfaces3.ts ===
module A {
>A : typeof A
2014-08-15 23:33:16 +02:00
module B {
>B : typeof B
2014-08-15 23:33:16 +02:00
export function createB(): B {
>createB : () => B
>B : B
2014-08-15 23:33:16 +02:00
return null;
2015-04-13 21:36:11 +02:00
>null : null
2014-08-15 23:33:16 +02:00
}
}
export interface B {
>B : B
2014-08-15 23:33:16 +02:00
name: string;
>name : string
2014-08-15 23:33:16 +02:00
value: number;
>value : number
2014-08-15 23:33:16 +02:00
}
}
var x: A.B = null;
>x : A.B
>A : any
>B : A.B
2015-04-13 21:36:11 +02:00
>null : null
2014-08-15 23:33:16 +02:00