flow2ts
CLI to convert Flow code into TypeScript with babel-plugin-flow-to-typescript.
Installation
npm install @fiahfy/flow2ts
Usage
import { convert } from '@fiahfy/flow2ts'
convert(code)
CLI
npm install -g @fiahfy/flow2ts
flow2ts index.js
or use via npx
npx @fiahfy/flow2ts index.js