fable-material-ui icon indicating copy to clipboard operation
fable-material-ui copied to clipboard

Remove type aliases for U2 etc. types

Open cmeeren opened this issue 5 years ago • 0 comments

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.

cmeeren avatar Jun 14 '19 17:06 cmeeren