1 | // Type definitions for postcss-modules-local-by-default 1.2
|
2 | // Project: https://github.com/css-modules/postcss-modules-local-by-default
|
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 localByDefault {
|
10 | interface Options {
|
11 | mode?: "global" | "local" | "pure";
|
12 | rewriteUrl?: (global: boolean, url: string) => string;
|
13 | }
|
14 |
|
15 | type LocalByDefault = Plugin<Options>;
|
16 | }
|
17 |
|
18 | declare const localByDefault: localByDefault.LocalByDefault;
|
19 | export = localByDefault;
|