flowgen2

v2.2.2
Generate flowtype definition files from TypeScript

Flowgen2

Nothing much works yet, but I plan to expand on this very soon.

Installation

npm install flowgen2

Usage

Add something like the following to your package.json:

  "scripts": {
    "build": "tsc",
    "postbuild": "flowgen \"lib/**/*\""
  }

Then when you run npm run build, you should see .js.flow files along with all your typescript defintions and plain JavaScript files.

License

MIT

npm i flowgen2

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 3/20/2019

Downloads

Maintainers