4 ms·
> function setVerticalAlignment(color: "top" | "middle" | "bottom Why is alignment accepting a color? It doesn’t matter how good the type checking is if you ar
by memco 6y ago
> function setVerticalAlignment(color: "top" | "middle" | "bottom
Why is alignment accepting a color? It doesn’t matter how good the type checking is if you are creating the wrong type to begin with.
That aside, congrats on the release!
- trevyn 6y agoI don’t know anything about that particular function, but “color” has several distinct definitions (colors?), some of which even make sense here.
- tom_ 6y agoWhat's in a name? That which we call a rose By any other name would smell as sweet. So Romeo would, were he not Romeo call'd, Retain that dear perfection which he owes Without that title.
- ht85 6y agoLooks like it was a typo and they fixed it!