Skip to content
This repository was archived by the owner on Mar 27, 2020. It is now read-only.

Files

Latest commit

7eaa20d · Apr 1, 2019

History

History

plugin-lib-flow-check

🚷 plugin-lib-flow-check

npm linux windows coverage deps

Check types using Flow.

Install

$ yarn add --dev @start/plugin-lib-flow-check
# or
$ npm install --save-dev @start/plugin-lib-flow-check

Usage

Signature

flowGenerate(outDirRelative: string, ...flowArgs: string[])

Example

import sequence from '@start/plugin-sequence'
import find from '@start/plugin-find'
import flowGenerate from '@start/plugin-lib-flow-generate'

export task = () =>
  sequence(
    find('src/**/*.js'),
    flowGenerate('build/')
  )