Skip to content

Commit

Permalink
Update cssnano types
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jun 10, 2021
1 parent bf02014 commit e6dd840
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions flow-libs/cssnano.js.flow
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
// @flow strict-local

// Derived from the source of cssnano located at
// Modified from the source of cssnano located at
// https://github.com/cssnano/cssnano and its types at
// https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/cssnano/index.d.ts

declare module 'cssnano' {
import type { Plugin } from "postcss"
declare interface CSSNanoOptions {
configFile?: string;
preset?: [string, mixed] | string;
}
declare module.exports: (?CSSNanoOptions) => void;
declare module.exports: (?CSSNanoOptions) => Plugin;
}

0 comments on commit e6dd840

Please sign in to comment.