npm.io
6.1.0 • Published 2 years ago

@types/postcss-pxtorem

Licence
MIT
Version
6.1.0
Deps
1
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

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 { Input, PluginCreator } from "postcss";
declare namespace PostcssPxToRem {
    interface Options {
        rootValue?: number | ((input: Input) => number);
        unitPrecision?: number;
        propList?: string[];
        selectorBlackList?: Array<string | RegExp>;
        replace?: boolean;
        mediaQuery?: boolean;
        minPixelValue?: number;
        exclude?: string | RegExp | ((file: string) => boolean);
        unit?: string;
    }
}

declare var pxtorem: PluginCreator<PostcssPxToRem.Options>;

export = pxtorem;

Additional Details

  • Last updated: Tue, 01 Oct 2024 1523 GMT
  • Dependencies: postcss

Credits

These definitions were written by Steven Bassett.