tsgen
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i tsgen

Weekly Downloads

21

Version

1.3.0

License

MIT

Unpacked Size

67.5 kB

Total Files

154

Last publish

Collaborators

  • forbeslindesay