1 | // Type definitions for gulp-clean-css 4.3
|
2 | // Project: https://github.com/scniro/gulp-clean-css#readme
|
3 | // Definitions by: tqma <https://github.com/tqma113>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | /// <reference types="node" />
|
7 |
|
8 | import { Options, Output } from 'clean-css';
|
9 |
|
10 | declare namespace GulpCleanCss {
|
11 | interface Details {
|
12 | stats: Output['stats'];
|
13 | errors: Output['errors'];
|
14 | warnings: Output['warnings'];
|
15 | path: string;
|
16 | name: string;
|
17 | }
|
18 | }
|
19 |
|
20 | declare function GulpCleanCss(
|
21 | options?: Options,
|
22 | callback?: (details: GulpCleanCss.Details) => void,
|
23 | ): NodeJS.ReadWriteStream;
|
24 |
|
25 | export = GulpCleanCss;
|