-
Notifications
You must be signed in to change notification settings - Fork 126
Open
Description
No problem calling tsc on the folder level to build a separate JS file but an error is encountered when calling the tsc on a specific file like tsc module04.ts
Error displayed below
../../../../../node_modules/@types/node/globals.d.ts:72:13 - error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(reason?: any): AbortSignal; timeout(milliseconds: number): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'.
72 declare var AbortSignal: {
~~~~~~~~~~~
../../../../../../../../AppData/Roaming/npm/node_modules/typescript/lib/lib.dom.d.ts:2071:13
2071 declare var AbortSignal: {
~~~~~~~~~~~
'AbortSignal' was also declared here.
Found 1 error in ../../../../../node_modules/@types/node/globals.d.ts:72
AdalbertPungu
Metadata
Metadata
Assignees
Labels
No labels