mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-27 14:30:49 +08:00
19 lines
316 B
TypeScript
19 lines
316 B
TypeScript
import * as UglifyJS from 'uglify-js';
|
|
import * as GulpUglify from '.';
|
|
|
|
interface Composer {
|
|
(uglify: Uglify, log: Logger): typeof GulpUglify;
|
|
}
|
|
|
|
interface Uglify {
|
|
minify: typeof UglifyJS.minify;
|
|
}
|
|
|
|
interface Logger {
|
|
warn: typeof console.warn;
|
|
}
|
|
|
|
declare const composer: Composer;
|
|
|
|
export = composer;
|