mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
ac28acd667
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: RyanCavanaugh <[email protected]> Co-authored-by: Jake Bailey <[email protected]> Co-authored-by: Ryan Cavanaugh <[email protected]>
34 lines
1.8 KiB
Plaintext
34 lines
1.8 KiB
Plaintext
anonymousModules.ts(1,1): error TS2591: Cannot find name 'module'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
|
|
anonymousModules.ts(1,8): error TS1437: Namespace must be given a name.
|
|
anonymousModules.ts(4,2): error TS2591: Cannot find name 'module'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
|
|
anonymousModules.ts(4,9): error TS1437: Namespace must be given a name.
|
|
anonymousModules.ts(10,2): error TS2591: Cannot find name 'module'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
|
|
anonymousModules.ts(10,9): error TS1437: Namespace must be given a name.
|
|
|
|
|
|
==== anonymousModules.ts (6 errors) ====
|
|
module {
|
|
~~~~~~
|
|
!!! error TS2591: Cannot find name 'module'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
|
|
~
|
|
!!! error TS1437: Namespace must be given a name.
|
|
export var foo = 1;
|
|
|
|
module {
|
|
~~~~~~
|
|
!!! error TS2591: Cannot find name 'module'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
|
|
~
|
|
!!! error TS1437: Namespace must be given a name.
|
|
export var bar = 1;
|
|
}
|
|
|
|
var bar = 2;
|
|
|
|
module {
|
|
~~~~~~
|
|
!!! error TS2591: Cannot find name 'module'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
|
|
~
|
|
!!! error TS1437: Namespace must be given a name.
|
|
var x = bar;
|
|
}
|
|
} |