rescript-association / genType

Auto generation of idiomatic bindings between Reason and JavaScript: either vanilla or typed with TypeScript/FlowType.
https://rescript-lang.org/docs/gentype/latest/introduction
MIT License
758 stars 44 forks source link

Children import #580

Closed cristianoc closed 2 years ago

cristianoc commented 2 years ago

TypeScript: type children of imported components as React.ReactNode.

jmagaram commented 2 years ago

Not sure this works.

https://github.com/rescript-association/genType/issues/501#issuecomment-948901066

cristianoc commented 2 years ago

See this commit which adds an actions prop: https://github.com/rescript-association/genType/pull/580/commits/341b1646c039c177d2aadff1b0a455e1dd005b6d

Looks like what's expected. Did you take the binary from this PR?

jmagaram commented 2 years ago

I'll try again when I get home. Was working in a coffee shop, small screen, never used a tarball before, wasn't sure how to install the .exe, tired, so might have made a mistake and not used the latest. If it works for you then it probably works.

jmagaram commented 2 years ago

Works for me now on Windows. Not sure what happened before.