tsgen

Convert flow types to typescript types, automatically

MIT 7 个版本
安装
npm install tsgen
yarn add tsgen
pnpm add tsgen
bun add tsgen
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

版本列表
1.3.0 2018-03-26
1.2.0 2018-02-20
1.1.2 2018-02-11
1.1.1 2018-02-09
1.1.0 2018-02-09
1.0.1 2018-02-09
1.0.0 2017-07-03