UNPKG

698 BTypeScriptView Raw
1// Type definitions for gulp-postcss 8.0
2// Project: https://github.com/postcss/gulp-postcss
3// Definitions by: DefinitelyTyped <https://github.com/DefinitelyTyped>
4// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5// TypeScript Version: 2.8
6
7/// <reference types="node"/>
8import Vinyl = require('vinyl');
9
10declare function GulpPostCss(plugins?: any[], options?: GulpPostCss.Options): NodeJS.ReadWriteStream;
11declare function GulpPostCss(callback?: (file: Vinyl) => { plugins?: any[] | undefined, options?: GulpPostCss.Options | undefined }):
12 NodeJS.ReadWriteStream;
13
14declare namespace GulpPostCss {
15 interface Options {
16 parser?: any;
17 }
18}
19
20export = GulpPostCss;