33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
=== tests/cases/compiler/interMixingModulesInterfaces5.ts ===
|
|
module A {
|
|
>A : Symbol(A, Decl(interMixingModulesInterfaces5.ts, 0, 0))
|
|
|
|
interface B {
|
|
>B : Symbol(B, Decl(interMixingModulesInterfaces5.ts, 0, 10), Decl(interMixingModulesInterfaces5.ts, 5, 5))
|
|
|
|
name: string;
|
|
>name : Symbol(name, Decl(interMixingModulesInterfaces5.ts, 2, 17))
|
|
|
|
value: number;
|
|
>value : Symbol(value, Decl(interMixingModulesInterfaces5.ts, 3, 21))
|
|
}
|
|
|
|
export module B {
|
|
>B : Symbol(B, Decl(interMixingModulesInterfaces5.ts, 5, 5))
|
|
|
|
export function createB(): number {
|
|
>createB : Symbol(createB, Decl(interMixingModulesInterfaces5.ts, 7, 21))
|
|
|
|
return null;
|
|
}
|
|
}
|
|
}
|
|
|
|
var x: number = A.B.createB();
|
|
>x : Symbol(x, Decl(interMixingModulesInterfaces5.ts, 14, 3))
|
|
>A.B.createB : Symbol(A.B.createB, Decl(interMixingModulesInterfaces5.ts, 7, 21))
|
|
>A.B : Symbol(A.B, Decl(interMixingModulesInterfaces5.ts, 5, 5))
|
|
>A : Symbol(A, Decl(interMixingModulesInterfaces5.ts, 0, 0))
|
|
>B : Symbol(A.B, Decl(interMixingModulesInterfaces5.ts, 5, 5))
|
|
>createB : Symbol(A.B.createB, Decl(interMixingModulesInterfaces5.ts, 7, 21))
|
|
|