@types/postcss-modules-local-by-default
Version:
TypeScript definitions for postcss-modules-local-by-default
32 lines (23 loc) • 1.08 kB
Markdown
by-default`
This package contains type definitions for postcss-modules-local-by-default (https://github.com/css-modules/postcss-modules-local-by-default).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-modules-local-by-default.
````ts
import { PluginCreator } from "postcss";
declare namespace localByDefault {
interface Options {
mode?: "global" | "local" | "pure" | undefined;
rewriteUrl?: ((global: boolean, url: string) => string) | undefined;
}
}
declare const creator: PluginCreator<localByDefault.Options>;
export = creator;
````
* Last updated: Tue, 07 Nov 2023 09:09:39 GMT
* Dependencies: [postcss](https://npmjs.com/package/postcss)
These definitions were written by [Jeow Li Huan](https://github.com/huan086).
> `npm install --save @types/postcss-modules-local-