Open joshuanapoli opened 1 year ago
fixes #202
Treat the module name as a string, rather than a typescript identifier. This lets you use scoped module names in the --as-module cli argument.
--as-module
npx flowgen module.d.ts -o module.js --no-inexact --as-module '@company/module'
The flow output is like this:
declare module "@company/module" { declare export function myFunction(); }
fixes #202
Treat the module name as a string, rather than a typescript identifier. This lets you use scoped module names in the
--as-module
cli argument.The flow output is like this: