joarwilk / flowgen

Generate flowtype definition files from TypeScript
Other
657 stars 87 forks source link

Just a simple question #187

Closed elenakrittik closed 2 years ago

elenakrittik commented 2 years ago

If the TS defenition I have contains import { ... } from "external-library-from-node_modules";, will flowgen get those defenitions from the external-...-node_modules library and put them in the resulting flow libdef? (asking because afaik flow-typed (and flow itself) does not support require(...)ing or importing external libdefs)

orta commented 2 years ago

No

elenakrittik commented 2 years ago

Sad :( Maybe this is on the roadmap?

elenakrittik commented 2 years ago

ok, i guess it's not.

orta commented 2 years ago

You're welcome to look at adding it