mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
520 B
Plaintext
11 lines
520 B
Plaintext
exportSpecifierReferencingOuterDeclaration2_B.ts(1,10): error TS2661: Cannot export 'X'. Only local declarations can be exported from a module.
|
|
|
|
|
|
==== exportSpecifierReferencingOuterDeclaration2_A.ts (0 errors) ====
|
|
declare namespace X { export interface bar { } }
|
|
|
|
==== exportSpecifierReferencingOuterDeclaration2_B.ts (1 errors) ====
|
|
export { X };
|
|
~
|
|
!!! error TS2661: Cannot export 'X'. Only local declarations can be exported from a module.
|
|
export declare function foo(): X.bar; |