@types/postcss-modules-local-by-default
TypeScript icon, indicating that this package has built-in type declarations

4.0.2 • Public • Published

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 09:09:39 GMT
  • Dependencies: postcss

Credits

These definitions were written by Jeow Li Huan.

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

    Package Sidebar

    Install

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

    Weekly Downloads

    214,119

    Version

    4.0.2

    License

    MIT

    Unpacked Size

    3.46 kB

    Total Files

    5

    Last publish

    Collaborators

    • types