Skip to content

"getElementsByTagName('svg')" does not returns NodeList of SVGSVGElement, but generic NodeList. #1618

Description

@jsakamoto

For example:

var svgs = document.getElementsByTagName('svg');

The expected type of svgs is NodeListOf<SVGSVGElement>, but it is normal NodeList actually.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issueRevisitAn issue worth coming back to

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions