mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
618 B
Plaintext
12 lines
618 B
Plaintext
exportNonLocalDeclarations.ts(1,10): error TS2661: Cannot export 'string'. Only local declarations can be exported from a module.
|
|
exportNonLocalDeclarations.ts(2,15): error TS2661: Cannot export 'number'. Only local declarations can be exported from a module.
|
|
|
|
|
|
==== exportNonLocalDeclarations.ts (2 errors) ====
|
|
export { string };
|
|
~~~~~~
|
|
!!! error TS2661: Cannot export 'string'. Only local declarations can be exported from a module.
|
|
export type { number };
|
|
~~~~~~
|
|
!!! error TS2661: Cannot export 'number'. Only local declarations can be exported from a module.
|
|
|