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

18 lines
479 B
Plaintext

exportSpecifierAndLocalMemberDeclaration.ts(11,20): error TS2503: Cannot find namespace 'X'.
==== exportSpecifierAndLocalMemberDeclaration.ts (1 errors) ====
declare module "m2" {
namespace X {
interface I { }
}
function Y();
export { Y as X };
function Z(): X.I;
}
declare module "m2" {
function Z2(): X.I;
~
!!! error TS2503: Cannot find namespace 'X'.
}