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.