joarwilk / flowgen

Generate flowtype definition files from TypeScript
Other
658 stars 78 forks source link

Export non-generic interfaces through namespaces #126

Closed lhchavez closed 3 years ago

lhchavez commented 3 years ago

This change also exposes interfaces through namespace var. This allows them to be accessed by name. This is only done when the interface is non-generic, since generic interfaces cannot be expressed in a var.

orta commented 3 years ago

Cool, seems reasonable to me