mvsmal / fable-material-ui

Fable bindings for Material-UI https://mvsmal.github.io/fable-material-ui/
MIT License
61 stars 8 forks source link

Remove type aliases for U2 etc. types #64

Open cmeeren opened 5 years ago

cmeeren commented 5 years ago

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.