1.3.0 • Published 6 years ago

tsgen v1.3.0

Weekly downloads
264
License
MIT
Repository
github
Last release
6 years ago

tsgen

Convert flow types to typescript types, automatically

Build Status Dependency Status NPM version

Installation

npm install tsgen --save-dev

Usage

tsgen "lib/**/*.js.flow" --ignore "lib/internal-modules/**/*.js.flow"

If you're using export default foo; style for exports in flow, but compiling that to module.exports = style CommonJS exports, you will also need to pass in --common-js-default-export.

License

MIT