UNPKG

1.45 kBMarkdownView Raw
1# Installation
2> `npm install --save @types/gulp-postcss`
3
4# Summary
5This package contains type definitions for gulp-postcss (https://github.com/postcss/gulp-postcss).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-postcss.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-postcss/index.d.ts)
10````ts
11// Type definitions for gulp-postcss 8.0
12// Project: https://github.com/postcss/gulp-postcss
13// Definitions by: DefinitelyTyped <https://github.com/DefinitelyTyped>
14// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
15// TypeScript Version: 2.8
16
17/// <reference types="node"/>
18import Vinyl = require('vinyl');
19
20declare function GulpPostCss(plugins?: any[], options?: GulpPostCss.Options): NodeJS.ReadWriteStream;
21declare function GulpPostCss(callback?: (file: Vinyl) => { plugins?: any[] | undefined, options?: GulpPostCss.Options | undefined }):
22 NodeJS.ReadWriteStream;
23
24declare namespace GulpPostCss {
25 interface Options {
26 parser?: any;
27 }
28}
29
30export = GulpPostCss;
31
32````
33
34### Additional Details
35 * Last updated: Thu, 23 Dec 2021 23:34:46 GMT
36 * Dependencies: [@types/vinyl](https://npmjs.com/package/@types/vinyl), [@types/node](https://npmjs.com/package/@types/node)
37 * Global values: none
38
39# Credits
40These definitions were written by [DefinitelyTyped](https://github.com/DefinitelyTyped).
41
\No newline at end of file