Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

Binding to union types in record fields in JS/TS

$
0
0

That is really good advice, I’ve been looking at the different options and with that in mind most of the union types provided for convenience/sugar just go away by providing the canonical version, like you mentioned.

I’ll keep that in mind.

I assume then there are no other ways to represent these things, right?


Viewing all articles
Browse latest Browse all 2592

Trending Articles