How to use the flowgen.compiler.compileDefinitionFile function in flowgen

To help you get started, we’ve selected a few flowgen examples, based on popular ways it is used in public projects.

github Chimeejs / chimee / packages / chimee-kernel-flv.js / flow / modules.js View on Github external
import { compiler } from 'flowgen';
const flowdef = compiler.compileDefinitionFile('../node_modules/flv.js/d.ts/flv.d.ts');
console.log(flowdef);

declare module 'toxic-decorators' {
  declare module.exports: any;
}

flowgen

Generate flowtype definition files from TypeScript

ISC
Latest version published 2 months ago

Package Health Score

79 / 100
Full package analysis

Similar packages