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

Replicating an existential type from OCaml in Rescript

$
0
0

Hello, I think you’ve just been using a wrong syntax, what you’re looking for is this IMO:

type rec anyComponent = AnyComponent(React.componentLike<'a, 'b>): anyComponent

Viewing all articles
Browse latest Browse all 2592

Trending Articles