Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove type aliases for U2 etc. types #64

Open
cmeeren opened this issue Jun 14, 2019 · 0 comments
Open

Remove type aliases for U2 etc. types #64

cmeeren opened this issue Jun 14, 2019 · 0 comments

Comments

@cmeeren
Copy link
Contributor

cmeeren commented Jun 14, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant