JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 54
  • Score
    100M100P100Q65441F
  • License MIT

Convert flow types to typescript types, automatically

Package Exports

  • tsgen

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tsgen) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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