flowgen
- Version 1.21.0
- Published
- 171 kB
- 8 dependencies
- ISC license
Install
npm i flowgen
yarn add flowgen
pnpm add flowgen
Overview
Generate flowtype definition files from TypeScript
Index
Variables
Functions
Variables
variable _default
const _default: { beautify: typeof beautify; compiler: { reset: (options?: import('./options').Options) => void; compile: (args_0: any) => string; setChecker(typeChecker: any): void; getTransformers( options?: import('./options').Options ): ((ctx: any) => any)[]; compileTest: (testPath: string, target: string) => void; compileDefinitionString: ( string: string, options?: import('./options').Options ) => string; compileDefinitionFile: ( definitionPath: string, options?: import('./options').Options, mapSourceCode?: (source: string, fileName: string) => string ) => string; compileDefinitionFiles: ( definitionPaths: string[], options?: import('./options').Options, mapSourceCode?: (source: string, fileName: string) => string ) => [string, string][]; };};
variable compiler
const compiler: { reset: (options?: Options) => void; compile: (args_0: ts.SourceFile) => string; setChecker(typeChecker: ts.TypeChecker): void; getTransformers( options?: Options ): ((ctx: ts.TransformationContext) => ts.Transformer<any>)[]; compileTest: (testPath: string, target: string) => void; compileDefinitionString: (string: string, options?: Options) => string; compileDefinitionFile: ( definitionPath: string, options?: Options, mapSourceCode?: ( source: string | undefined, fileName: string ) => string | undefined ) => string; compileDefinitionFiles: ( definitionPaths: string[], options?: Options, mapSourceCode?: ( source: string | undefined, fileName: string ) => string | undefined ) => Array<[string, string]>;};
Functions
function beautify
beautify: (str: string) => string;
Package Files (3)
Dependencies (8)
Dev Dependencies (26)
- @babel/cli
- @babel/core
- @babel/plugin-proposal-class-properties
- @babel/preset-env
- @babel/preset-typescript
- @types/babel__code-frame
- @types/jest
- @types/lodash
- @types/node
- @types/prettier
- @types/react
- @types/shelljs
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- babel-core
- babel-eslint
- babel-jest
- chalk
- eslint
- eslint-config-prettier
- eslint-plugin-import
- eslint-plugin-jest
- eslint-plugin-prettier
- flow-bin
- jest
- mongodb
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/flowgen
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/flowgen)
- HTML<a href="https://www.jsdocs.io/package/flowgen"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 4035 ms. - Missing or incorrect documentation? Open an issue for this package.