13 lines
643 B
Plaintext
13 lines
643 B
Plaintext
tests/cases/compiler/exportSpecifierReferencingOuterDeclaration2_B.ts(4,34): error TS2305: Module 'X' has no exported member 'bar'.
|
|
|
|
|
|
==== tests/cases/compiler/exportSpecifierReferencingOuterDeclaration2_A.ts (0 errors) ====
|
|
declare module X { export interface bar { } }
|
|
|
|
==== tests/cases/compiler/exportSpecifierReferencingOuterDeclaration2_B.ts (1 errors) ====
|
|
declare module X { export interface foo { } }
|
|
export { X };
|
|
export declare function foo(): X.foo;
|
|
export declare function bar(): X.bar; // error
|
|
~~~
|
|
!!! error TS2305: Module 'X' has no exported member 'bar'. |