mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
34 lines
1.3 KiB
Plaintext
34 lines
1.3 KiB
Plaintext
//// [tests/cases/compiler/exportSpecifierAndLocalMemberDeclaration.ts] ////
|
|
|
|
=== exportSpecifierAndLocalMemberDeclaration.ts ===
|
|
declare module "m2" {
|
|
>"m2" : Symbol("m2", Decl(exportSpecifierAndLocalMemberDeclaration.ts, 0, 0), Decl(exportSpecifierAndLocalMemberDeclaration.ts, 7, 1))
|
|
|
|
namespace X {
|
|
>X : Symbol(X, Decl(exportSpecifierAndLocalMemberDeclaration.ts, 0, 21))
|
|
|
|
interface I { }
|
|
>I : Symbol(I, Decl(exportSpecifierAndLocalMemberDeclaration.ts, 1, 17))
|
|
}
|
|
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, 17))
|
|
}
|
|
|
|
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))
|
|
>X : Symbol(X)
|
|
>I : Symbol(X.I)
|
|
}
|