@types/cssnano
TypeScript definitions for cssnano
Last updated 7 years ago by types .
MIT · Repository · Original npm
$ cnpm install @types/cssnano 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/cssnano

Summary

This package contains type definitions for cssnano (https://github.com/cssnano/cssnano).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cssnano.

index.d.ts

// 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;

Additional Details

  • Last updated: Tue, 06 Jul 2021 20:32:34 GMT
  • Dependencies: @types/postcss
  • Global values: none

Credits

These definitions were written by Armando Meziat.

Current Tags

  • 5.1.0                                ...           latest (3 years ago)

4 Versions

  • 5.1.0 [deprecated]           ...           3 years ago
  • 4.0.1                                ...           4 years ago
  • 4.0.0                                ...           7 years ago
  • 5.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org