UNPKG

1.43 kBMarkdownView Raw
1# Installation
2> `npm install --save @types/gulp-clean-css`
3
4# Summary
5This package contains type definitions for gulp-clean-css (https://github.com/scniro/gulp-clean-css#readme).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-clean-css.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-clean-css/index.d.ts)
10````ts
11// Type definitions for gulp-clean-css 4.3
12// Project: https://github.com/scniro/gulp-clean-css#readme
13// Definitions by: tqma <https://github.com/tqma113>
14// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
15
16/// <reference types="node" />
17
18import { Options, Output } from 'clean-css';
19
20declare namespace GulpCleanCss {
21 interface Details {
22 stats: Output['stats'];
23 errors: Output['errors'];
24 warnings: Output['warnings'];
25 path: string;
26 name: string;
27 }
28}
29
30declare function GulpCleanCss(
31 options?: Options,
32 callback?: (details: GulpCleanCss.Details) => void,
33): NodeJS.ReadWriteStream;
34
35export = GulpCleanCss;
36
37````
38
39### Additional Details
40 * Last updated: Wed, 10 May 2023 21:03:27 GMT
41 * Dependencies: [@types/clean-css](https://npmjs.com/package/@types/clean-css), [@types/node](https://npmjs.com/package/@types/node)
42 * Global values: none
43
44# Credits
45These definitions were written by [tqma](https://github.com/tqma113).
46
\No newline at end of file