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.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

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 1 year ago

Package Health Score

54 / 100
Full package analysis