mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
20 lines
525 B
TypeScript
20 lines
525 B
TypeScript
// Type definitions for cssnano 4.0
|
|
// Project: https://github.com/cssnano/cssnano
|
|
// Definitions by: Armando Meziat <https://github.com/odnamrataizem>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.2
|
|
|
|
import { Plugin } from 'postcss';
|
|
|
|
declare namespace cssnano {
|
|
interface CssNanoOptions {
|
|
configFile?: string;
|
|
preset?: [string, object] | string;
|
|
}
|
|
|
|
type CssNano = Plugin<CssNanoOptions>;
|
|
}
|
|
|
|
declare const cssnano: cssnano.CssNano;
|
|
export = cssnano;
|