npm.io
4.0.2 • Published 2 years ago

@types/postcss-modules-local-by-default

Licence
MIT
Version
4.0.2
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/postcss-modules-local-by-default

Summary

This package contains type definitions for postcss-modules-local-by-default (https://github.com/css-modules/postcss-modules-local-by-default).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-modules-local-by-default.

index.d.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;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0939 GMT
  • Dependencies: postcss

Credits

These definitions were written by Jeow Li Huan.