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

Property 'matches' does not exist on type 'Element' #5813

Closed
xabufr opened this issue Nov 27, 2015 · 1 comment
Closed

Property 'matches' does not exist on type 'Element' #5813

xabufr opened this issue Nov 27, 2015 · 1 comment
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue

Comments

@xabufr
Copy link

xabufr commented Nov 27, 2015

Example:

let node: Element = document.querySelector("mySelector");
node.matches("mySelector");

Raise the following error: Property 'matches' does not exist on type 'Element'
Defined in DOM Living Standard

xabufr added a commit to xabufr/TSJS-lib-generator that referenced this issue Nov 27, 2015
@DanielRosenwasser DanielRosenwasser added the Bug A bug in TypeScript label Nov 27, 2015
zhengbli added a commit to microsoft/TypeScript-DOM-lib-generator that referenced this issue Nov 29, 2015
@mhegazy mhegazy added this to the TypeScript 1.8 milestone Nov 30, 2015
@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Nov 30, 2015
@mhegazy
Copy link
Contributor

mhegazy commented Nov 30, 2015

thanks @xabufr!

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

3 participants