TypeScript-DOM-lib-generator
TypeScript-DOM-lib-generator copied to clipboard
AbortSignal improper `any` type definition
🔍 Search Terms
AbortSignal
Description
Hello,
In the AbortSignal definition, we can see there's an any instance method that actually does not exist.
It should be a static method instead.
"Culprit" : https://github.com/microsoft/TypeScript-DOM-lib-generator/blob/main/baselines/dom.iterable.generated.d.ts#L7
Sample code
Documentation
Other
Also, gentle ping on https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/1162 since I intended to report this too at first.