1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
=== tests/cases/compiler/namespacesDeclaration2.ts ===
namespace N {
>N : Symbol(N, Decl(namespacesDeclaration2.ts, 0, 0))
function S() {}
>S : Symbol(S, Decl(namespacesDeclaration2.ts, 0, 13))
}
module M {
>M : Symbol(M, Decl(namespacesDeclaration2.ts, 2, 1))
function F() {}
>F : Symbol(F, Decl(namespacesDeclaration2.ts, 3, 10))
}
declare namespace ns {
>ns : Symbol(ns, Decl(namespacesDeclaration2.ts, 5, 1))
let f: number;
>f : Symbol(f, Decl(namespacesDeclaration2.ts, 8, 7))
}
var foge: N.S;
>foge : Symbol(foge, Decl(namespacesDeclaration2.ts, 11, 3))
>N : Symbol(N, Decl(namespacesDeclaration2.ts, 0, 0))
var foo: M.F;
>foo : Symbol(foo, Decl(namespacesDeclaration2.ts, 12, 3))
>M : Symbol(M, Decl(namespacesDeclaration2.ts, 2, 1))
let x: ns.A;
>x : Symbol(x, Decl(namespacesDeclaration2.ts, 13, 3))
>ns : Symbol(ns, Decl(namespacesDeclaration2.ts, 5, 1))
|