Skip to content

A @pika/pack build plugin. Adds flow type definitions generated from typescript definitions.

Notifications You must be signed in to change notification settings

chasingmaxwell/plugin-build-flowgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plugin-build-flowgen

A @pika/pack build plugin. Adds Flow type definitions generated from TypeScript definitions.

Install

# npm:
npm install plugin-build-flowgen --save-dev
# yarn:
yarn add plugin-build-flowgen --dev

Usage

{
  "name": "example-package-json",
  "version": "1.0.0",
  "@pika/pack": {
    "pipeline": [
      /* Generates the TypeScript definition files: */
      ["@pika/plugin-ts-standard-pkg"]
      /* Generates the Flow definition files: */
      ["@pika/plugin-build-flowgen"]
    ]
  }
}

Result

Generate a corresponding *.js.flow file for every *.d.ts file inside the dist-types directory.

About

A @pika/pack build plugin. Adds flow type definitions generated from typescript definitions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published