Skip to content

Remove type aliases for U2 etc. types #64

@cmeeren

Description

@cmeeren

I find this signature confusing:

image

I have no idea what AnchorElProp is. So I write AnchorElProp and get this:

image

Which is absolutely no help at all. So I actually have to go to the online documentation and look it up.

It would be much easier if the type abbreviation was removed, because then it would say U2<EventTarget, unit‑>EventTarget> instead of AnchorElProp right in the IDE, and I would be spared all this unnecessary looking up 😉

I see this goes for some other props as well.

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