You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
No problem calling
tsc
on the folder level to build a separate JS file but an error is encountered when calling thetsc
on a specific file liketsc module04.ts
Error displayed below
The text was updated successfully, but these errors were encountered: