Skip to content

Node.parentElement should be Element | null, not HTMLElement | null #1151

@trusktr

Description

@trusktr

Hello! I'm new to this. How exactly would I change that?

For example, a <g> element somewhere inside an <svg> element will have a .parentElement that is an SVGElement, which is not an HTMLElement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions