Files
tsgo/testdata/baselines/reference/submodule/compiler/exportSpecifierReferencingOuterDeclaration3.errors.txt

13 lines
532 B
Plaintext

exportSpecifierReferencingOuterDeclaration3.ts(6,30): error TS2694: Namespace 'X' has no exported member 'bar'.
==== exportSpecifierReferencingOuterDeclaration3.ts (1 errors) ====
declare namespace X { export interface bar { } }
declare module "m" {
namespace X { export interface foo { } }
export { X };
export function foo(): X.foo;
export function bar(): X.bar; // error
~~~
!!! error TS2694: Namespace 'X' has no exported member 'bar'.
}