@types/postcss-pxtorem
TypeScript icon, indicating that this package has built-in type declarations

6.0.3 • Public • Published

Installation

npm install --save @types/postcss-pxtorem

Summary

This package contains type definitions for postcss-pxtorem (https://github.com/cuth/postcss-pxtorem#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-pxtorem.

index.d.ts

import { PluginCreator } from "postcss";

declare namespace PostcssPxToRem {
    interface Options {
        rootValue?: number | ((pixelValue: number) => number);
        unitPrecision?: number;
        propList?: string[];
        selectorBlackList?: Array<string | RegExp>;
        replace?: boolean;
        mediaQuery?: boolean;
        minPixelValue?: number;
        exclude?: string | RegExp | ((file: string) => boolean);
    }
}

declare var pxtorem: PluginCreator<PostcssPxToRem.Options>;

export = pxtorem;

Additional Details

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

Credits

These definitions were written by Steven Bassett.

/@types/postcss-pxtorem/

    Package Sidebar

    Install

    npm i @types/postcss-pxtorem

    Weekly Downloads

    5,604

    Version

    6.0.3

    License

    MIT

    Unpacked Size

    3.71 kB

    Total Files

    5

    Last publish

    Collaborators

    • types