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.

11 lines (8 loc) 432 B
/* @flow */ type MochaCallback = (done: ?() => void) => void; declare function describe(name: string, callback: MochaCallback): void; declare function it(name: string, callback: MochaCallback): void; declare function before(callback: MochaCallback): void; declare function beforeEach(callback: MochaCallback): void; declare function after(callback: MochaCallback): void; declare function afterEach(callback: MochaCallback): void;