mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
28 lines
699 B
Plaintext
28 lines
699 B
Plaintext
dottedModuleName.ts(3,29): error TS1144: '{' or ';' expected.
|
|
dottedModuleName.ts(3,33): error TS2552: Cannot find name 'x'. Did you mean 'X'?
|
|
|
|
|
|
==== dottedModuleName.ts (2 errors) ====
|
|
namespace M {
|
|
export namespace N {
|
|
export function f(x:number)=>2*x;
|
|
~~
|
|
!!! error TS1144: '{' or ';' expected.
|
|
~
|
|
!!! error TS2552: Cannot find name 'x'. Did you mean 'X'?
|
|
export namespace X.Y.Z {
|
|
export var v2=f(v);
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
namespace M.N {
|
|
export namespace X {
|
|
export namespace Y.Z {
|
|
export var v=f(10);
|
|
}
|
|
}
|
|
}
|
|
|