Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AbortSignal improper any type definition #1803

Closed
LeonardDrs opened this issue Sep 17, 2024 · 0 comments · Fixed by #1839
Closed

AbortSignal improper any type definition #1803

LeonardDrs opened this issue Sep 17, 2024 · 0 comments · Fixed by #1839

Comments

@LeonardDrs
Copy link

LeonardDrs commented Sep 17, 2024

🔍 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

Playground link

Documentation

MDN Reference

Other

Also, gentle ping on #1162 since I intended to report this too at first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant