$ cnpm install @types/cssnano
npm install --save @types/cssnano
This package contains type definitions for cssnano (https://github.com/cssnano/cssnano).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cssnano.
// 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 | undefined;
preset?: [string, object] | string | undefined;
}
type CssNano = Plugin<CssNanoOptions>;
}
declare const cssnano: cssnano.CssNano;
export = cssnano;
These definitions were written by Armando Meziat.
Copyright 2013 - present © cnpmjs.org