UNPKG

webcompiler

Version:

Lint, type-check, compile, package and gzip JavaScript (ES6 + Flow static types + JSX), for the browser as well as NodeJS; lint, compile, auto-prefix, minify and gzip SASS.

9 lines (6 loc) 255 B
/* @flow */ import type {ProgramData} from '../src/typedef'; declare module 'babel-core' { declare function transformFile(file: string, options: Object, callback: (error: ?Error, result: ProgramData) => void): void; }