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

Using open but for just one type?

$
0
0

One of my favorite things about rescript is it’s ability to infer a type from usage. But that only works when the type is in the same module, I was wondering if there’s some kind of way to “open” that type into a another module but without the baggage of importing the rest of the module?

open User.t

Viewing all articles
Browse latest Browse all 1751

Trending Articles