Skip to content

AbortSignal conflict issue between @types/web@0.0.70 and @types/node@18.6.1 #1368

@cjones26

Description

@cjones26

With the latest release of @types/web@0.0.70 being installed side-by-side with @types/node@18.6.1, we are receiving the following conflict:

../../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; timeout(milliseconds: number): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'.

72 declare var AbortSignal: {
               ~~~~~~~~~~~

  ../../node_modules/@typescript/lib-dom/index.d.ts:1982:13
    1982 declare var AbortSignal: {
                     ~~~~~~~~~~~
    'AbortSignal' was also declared here.


Found 1 error in ../../node_modules/@types/node/globals.d.ts:72

Any suggestions would be greatly appreciated, though we've pinned @types/web@0.0.69 for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions