UNPKG

617 BTypeScriptView Raw
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
7import { PluginCreator } from "postcss";
8
9declare namespace localByDefault {
10 interface Options {
11 mode?: "global" | "local" | "pure" | undefined;
12 rewriteUrl?: ((global: boolean, url: string) => string) | undefined;
13 }
14}
15
16declare const creator: PluginCreator<localByDefault.Options>;
17
18export = creator;
19
\No newline at end of file