DefinitelyTyped/types/gulp-postcss/index.d.ts
2019-04-10 11:00:42 +09:00

21 lines
673 B
TypeScript

// Type definitions for gulp-postcss 8.0
// Project: https://github.com/postcss/gulp-postcss
// Definitions by: Takesi Tokugawa <https://github.com/TokugawaTakesi>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
/// <reference types="node"/>
import Vinyl = require('vinyl');
declare function GulpPostCss(plugins?: any[], options?: GulpPostCss.Options): NodeJS.ReadWriteStream;
declare function GulpPostCss(callback?: (file: Vinyl) => { plugins?: any[], options?: GulpPostCss.Options }):
NodeJS.ReadWriteStream;
declare namespace GulpPostCss {
interface Options {
parser?: any;
}
}
export = GulpPostCss;