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

When loading a type defined in another file, treat it as if it were a… #548

Closed cristianoc closed 3 years ago

cristianoc commented 3 years ago

…nnotated with @genType. So if it's needed for an export from the current file, the annotation is already automatically propagated.

Fixes https://github.com/rescript-association/genType/issues/535