mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
592 B
Plaintext
13 lines
592 B
Plaintext
exportSpecifierReferencingOuterDeclaration2_B.ts(4,34): error TS2694: Namespace 'X' has no exported member 'bar'.
|
|
|
|
|
|
==== exportSpecifierReferencingOuterDeclaration2_A.ts (0 errors) ====
|
|
declare namespace X { export interface bar { } }
|
|
|
|
==== exportSpecifierReferencingOuterDeclaration2_B.ts (1 errors) ====
|
|
declare namespace X { export interface foo { } }
|
|
export { X };
|
|
export declare function foo(): X.foo;
|
|
export declare function bar(): X.bar; // error
|
|
~~~
|
|
!!! error TS2694: Namespace 'X' has no exported member 'bar'. |