Move AbortController
/AbortSignal
to isolated lib file to share definitions between DOM and NodeJS
#43692
Labels
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
NodeJS introduced a global
AbortController
/AbortSignal
in Node 15.x. It would be helpful if NodeJS could share the definitions from the DOM using/// <reference lib="abortcontroller" />
comment.This was mentioned in https://github.com/DefinitelyTyped/DefinitelyTyped/pull/52357/files#diff-2696281f8832b1227bb41483a7525a8ccd9399bb4b1704f69c8c54bb1346d8edR315
Related: DefinitelyTyped/DefinitelyTyped#52357
The text was updated successfully, but these errors were encountered: