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.

18 lines (15 loc) 315 B
/* @flow */ type DOM = { toArray(): Object[]; html(): string; children(): DOM; each(iteratee: (i: number, el: Object) => any): DOM; find(selector: string): DOM; removeAttr(attr: string): void; }; declare module 'cheerio' { declare function load(html: string): { (): DOM; root(): DOM; }; }