UNPKG

549 BTypeScriptView Raw
1// Type definitions for cssnano 4.0
2// Project: https://github.com/cssnano/cssnano
3// Definitions by: Armando Meziat <https://github.com/odnamrataizem>
4// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5// TypeScript Version: 2.2
6
7import { Plugin } from 'postcss';
8
9declare namespace cssnano {
10 interface CssNanoOptions {
11 configFile?: string | undefined;
12 preset?: [string, object] | string | undefined;
13 }
14
15 type CssNano = Plugin<CssNanoOptions>;
16}
17
18declare const cssnano: cssnano.CssNano;
19export = cssnano;