2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/interMixingModulesInterfaces0.ts ===
|
|
|
|
module A {
|
2015-04-13 23:01:57 +02:00
|
|
|
>A : typeof A, Symbol(A, Decl(interMixingModulesInterfaces0.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export module B {
|
2015-04-13 23:01:57 +02:00
|
|
|
>B : typeof B, Symbol(B, Decl(interMixingModulesInterfaces0.ts, 0, 10), Decl(interMixingModulesInterfaces0.ts, 6, 5))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export function createB(): B {
|
2015-04-13 23:01:57 +02:00
|
|
|
>createB : () => B, Symbol(createB, Decl(interMixingModulesInterfaces0.ts, 2, 21))
|
|
|
|
>B : B, Symbol(B, Decl(interMixingModulesInterfaces0.ts, 0, 10), Decl(interMixingModulesInterfaces0.ts, 6, 5))
|
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 {
|
2015-04-13 23:01:57 +02:00
|
|
|
>B : B, Symbol(B, Decl(interMixingModulesInterfaces0.ts, 0, 10), Decl(interMixingModulesInterfaces0.ts, 6, 5))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
name: string;
|
2015-04-13 23:01:57 +02:00
|
|
|
>name : string, Symbol(name, Decl(interMixingModulesInterfaces0.ts, 8, 24))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
value: number;
|
2015-04-13 23:01:57 +02:00
|
|
|
>value : number, Symbol(value, Decl(interMixingModulesInterfaces0.ts, 9, 21))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var x: A.B = A.B.createB();
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : A.B, Symbol(x, Decl(interMixingModulesInterfaces0.ts, 14, 3))
|
|
|
|
>A : any, Symbol(A, Decl(interMixingModulesInterfaces0.ts, 0, 0))
|
|
|
|
>B : A.B, Symbol(A.B, Decl(interMixingModulesInterfaces0.ts, 0, 10), Decl(interMixingModulesInterfaces0.ts, 6, 5))
|
2014-08-25 19:36:12 +02:00
|
|
|
>A.B.createB() : A.B
|
2015-04-13 23:01:57 +02:00
|
|
|
>A.B.createB : () => A.B, Symbol(A.B.createB, Decl(interMixingModulesInterfaces0.ts, 2, 21))
|
|
|
|
>A.B : typeof A.B, Symbol(A.B, Decl(interMixingModulesInterfaces0.ts, 0, 10), Decl(interMixingModulesInterfaces0.ts, 6, 5))
|
|
|
|
>A : typeof A, Symbol(A, Decl(interMixingModulesInterfaces0.ts, 0, 0))
|
|
|
|
>B : typeof A.B, Symbol(A.B, Decl(interMixingModulesInterfaces0.ts, 0, 10), Decl(interMixingModulesInterfaces0.ts, 6, 5))
|
|
|
|
>createB : () => A.B, Symbol(A.B.createB, Decl(interMixingModulesInterfaces0.ts, 2, 21))
|
2014-08-15 23:33:16 +02:00
|
|
|
|