-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Node interface is missing the contains() method #1253
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
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Fixed
A PR has been merged for this issue
Milestone
Comments
@zhengbli I added a comment to that PR. I don't think the issue is fully solved. |
👍 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Fixed
A PR has been merged for this issue
The contains() method is defined for a Node:
https://developer.mozilla.org/en-US/docs/Web/API/Node.contains
TypeScript has it defined on HTMLElement:
https://github.com/Microsoft/TypeScript/blob/master/src/lib/dom.generated.d.ts#L272
The text was updated successfully, but these errors were encountered: