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 |
|
7 | import { Plugin } from 'postcss';
|
8 |
|
9 | declare namespace cssnano {
|
10 | interface CssNanoOptions {
|
11 | configFile?: string | undefined;
|
12 | preset?: [string, object] | string | undefined;
|
13 | }
|
14 |
|
15 | type CssNano = Plugin<CssNanoOptions>;
|
16 | }
|
17 |
|
18 | declare const cssnano: cssnano.CssNano;
|
19 | export = cssnano;
|