mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
829 B
Plaintext
19 lines
829 B
Plaintext
//// [tests/cases/compiler/exportSpecifierReferencingOuterDeclaration1.ts] ////
|
|
|
|
=== exportSpecifierReferencingOuterDeclaration1.ts ===
|
|
declare namespace X { export interface bar { } }
|
|
>X : Symbol(X, Decl(exportSpecifierReferencingOuterDeclaration1.ts, 0, 0))
|
|
>bar : Symbol(bar, Decl(exportSpecifierReferencingOuterDeclaration1.ts, 0, 21))
|
|
|
|
declare module "m" {
|
|
>"m" : Symbol("m", Decl(exportSpecifierReferencingOuterDeclaration1.ts, 0, 48))
|
|
|
|
export { X };
|
|
>X : Symbol(X, Decl(exportSpecifierReferencingOuterDeclaration1.ts, 2, 12))
|
|
|
|
export function foo(): X.bar;
|
|
>foo : Symbol(foo, Decl(exportSpecifierReferencingOuterDeclaration1.ts, 2, 17))
|
|
>X : Symbol(X, Decl(exportSpecifierReferencingOuterDeclaration1.ts, 0, 0))
|
|
>bar : Symbol(X.bar, Decl(exportSpecifierReferencingOuterDeclaration1.ts, 0, 21))
|
|
}
|