1 | // Type definitions for postcss-modules-local-by-default 4.0
|
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/DefinitelyTyped/DefinitelyTyped
|
5 | // TypeScript Version: 2.2
|
6 |
|
7 | import { PluginCreator } from "postcss";
|
8 |
|
9 | declare namespace localByDefault {
|
10 | interface Options {
|
11 | mode?: "global" | "local" | "pure" | undefined;
|
12 | rewriteUrl?: ((global: boolean, url: string) => string) | undefined;
|
13 | }
|
14 | }
|
15 |
|
16 | declare const creator: PluginCreator<localByDefault.Options>;
|
17 |
|
18 | export = creator;
|
19 |
|
\ | No newline at end of file |