UNPKG

659 BTypeScriptView Raw
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/DefinitelyTyped/DefinitelyTyped
5// TypeScript Version: 2.2
6
7import { Plugin } 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 type LocalByDefault = Plugin<Options>;
16}
17
18declare const localByDefault: localByDefault.LocalByDefault;
19export = localByDefault;
20
\No newline at end of file