Skip to content

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

Closed
@xabufr

Description

@xabufr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions