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
|
=== tests/cases/compiler/exportSpecifierAndLocalMemberDeclaration.ts ===
declare module "m2" {
>"m2" : Symbol("m2", Decl(exportSpecifierAndLocalMemberDeclaration.ts, 0, 0), Decl(exportSpecifierAndLocalMemberDeclaration.ts, 7, 1))
module X {
>X : Symbol(X, Decl(exportSpecifierAndLocalMemberDeclaration.ts, 0, 21))
interface I { }
>I : Symbol(I, Decl(exportSpecifierAndLocalMemberDeclaration.ts, 1, 14))
}
function Y();
>Y : Symbol(Y, Decl(exportSpecifierAndLocalMemberDeclaration.ts, 3, 5))
export { Y as X };
>Y : Symbol(Y, Decl(exportSpecifierAndLocalMemberDeclaration.ts, 3, 5))
>X : Symbol(X, Decl(exportSpecifierAndLocalMemberDeclaration.ts, 5, 12))
function Z(): X.I;
>Z : Symbol(Z, Decl(exportSpecifierAndLocalMemberDeclaration.ts, 5, 22))
>X : Symbol(X, Decl(exportSpecifierAndLocalMemberDeclaration.ts, 0, 21))
>I : Symbol(X.I, Decl(exportSpecifierAndLocalMemberDeclaration.ts, 1, 14))
}
declare module "m2" {
>"m2" : Symbol("m2", Decl(exportSpecifierAndLocalMemberDeclaration.ts, 0, 0), Decl(exportSpecifierAndLocalMemberDeclaration.ts, 7, 1))
function Z2(): X.I;
>Z2 : Symbol(Z2, Decl(exportSpecifierAndLocalMemberDeclaration.ts, 9, 21))
}
|