Skip to content

ForbesLindesay/tsgen

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages