Skip to content

Instantly share code, notes, and snippets.

@prettydiff
Created February 25, 2023 15:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prettydiff/e1987abf05a03de6d281a59c5062f828 to your computer and use it in GitHub Desktop.
Save prettydiff/e1987abf05a03de6d281a59c5062f828 to your computer and use it in GitHub Desktop.
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: {
~~~~~~~~~~~
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment