Skip to content

AbortSignal conflict issue between @types/[email protected] and @types/[email protected] #1368

Open
@cjones26

Description

@cjones26

With the latest release of @types/[email protected] being installed side-by-side with @types/[email protected], 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/[email protected] 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