mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
479 B
Plaintext
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'.
|
|
} |