1 | # Installation
|
2 | > `npm install --save @types/postcss-modules-local-by-default`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for postcss-modules-local-by-default (https://github.com/css-modules/postcss-modules-local-by-default).
|
6 |
|
7 | # Details
|
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-modules-local-by-default.
|
9 | ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-modules-local-by-default/index.d.ts)
|
10 | ````ts
|
11 | // Type definitions for postcss-modules-local-by-default 4.0
|
12 | // Project: https://github.com/css-modules/postcss-modules-local-by-default
|
13 | // Definitions by: Jeow Li Huan <https://github.com/huan086>
|
14 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
15 | // TypeScript Version: 2.2
|
16 |
|
17 | import { PluginCreator } from "postcss";
|
18 |
|
19 | declare namespace localByDefault {
|
20 | interface Options {
|
21 | mode?: "global" | "local" | "pure" | undefined;
|
22 | rewriteUrl?: ((global: boolean, url: string) => string) | undefined;
|
23 | }
|
24 | }
|
25 |
|
26 | declare const creator: PluginCreator<localByDefault.Options>;
|
27 |
|
28 | export = creator;
|
29 |
|
30 | ````
|
31 |
|
32 | ### Additional Details
|
33 | * Last updated: Thu, 18 Nov 2021 19:01:41 GMT
|
34 | * Dependencies: [@types/postcss](https://npmjs.com/package/@types/postcss)
|
35 | * Global values: none
|
36 |
|
37 | # Credits
|
38 | These definitions were written by [Jeow Li Huan](https://github.com/huan086).
|
39 |
|
\ | No newline at end of file |