mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
19 lines
317 B
TypeScript
19 lines
317 B
TypeScript
import * as UglifyJS from 'uglify-js';
|
|
import GulpUglify = require('.');
|
|
|
|
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;
|