1 | // Type definitions for postcss-calc 7.0
|
2 | // Project: https://github.com/postcss/postcss-calc
|
3 | // Definitions by: Jeow Li Huan <https://github.com/huan086>
|
4 | // Definitions: https://github.com/huan086/postcss-plugins-typings
|
5 | // TypeScript Version: 2.2
|
6 |
|
7 | import { Plugin } from "postcss";
|
8 |
|
9 | declare namespace calc {
|
10 | interface Options {
|
11 | precision?: number;
|
12 | preserve?: boolean;
|
13 | warnWhenCannotResolve?: boolean;
|
14 | mediaQueries?: boolean;
|
15 | selectors?: boolean;
|
16 | }
|
17 |
|
18 | type Calc = Plugin<Options>;
|
19 | }
|
20 |
|
21 | declare const calc: calc.Calc;
|
22 | export = calc;
|