Skip to content

QuerySelect is named as QuerySelector in the official documentation #21

@rzinnatullin

Description

@rzinnatullin

I'm using Type Script, and there's already the types for the official DOMParser types.
Here are the types for QuerySelector function:
image
And this is the official documentation https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelector

The problem is that for some reason in this package we have querySelect instead of querySelector, and this fact breaks type checking:
image

Any reason for having a different name? Can this be fixed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions