mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
794 B
Plaintext
17 lines
794 B
Plaintext
//// [tests/cases/compiler/exportSpecifierReferencingOuterDeclaration2.ts] ////
|
|
|
|
=== exportSpecifierReferencingOuterDeclaration2_A.ts ===
|
|
declare namespace X { export interface bar { } }
|
|
>X : Symbol(X, Decl(exportSpecifierReferencingOuterDeclaration2_A.ts, 0, 0))
|
|
>bar : Symbol(bar, Decl(exportSpecifierReferencingOuterDeclaration2_A.ts, 0, 21))
|
|
|
|
=== exportSpecifierReferencingOuterDeclaration2_B.ts ===
|
|
export { X };
|
|
>X : Symbol(X, Decl(exportSpecifierReferencingOuterDeclaration2_B.ts, 0, 8))
|
|
|
|
export declare function foo(): X.bar;
|
|
>foo : Symbol(foo, Decl(exportSpecifierReferencingOuterDeclaration2_B.ts, 0, 13))
|
|
>X : Symbol(X, Decl(exportSpecifierReferencingOuterDeclaration2_A.ts, 0, 0))
|
|
>bar : Symbol(X.bar, Decl(exportSpecifierReferencingOuterDeclaration2_A.ts, 0, 21))
|
|
|