Installation
npm install --save @types/postcss-prefix-selector
Summary
This package contains type definitions for postcss-prefix-selector (https://github.com/RadValentin/postcss-prefix-selector).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-prefix-selector.
index.d.ts
import { Root } from "postcss";
interface Options {
prefix?: string | undefined;
exclude?: ReadonlyArray<string | RegExp> | undefined;
ignoreFiles?: ReadonlyArray<string | RegExp> | undefined;
includeFiles?: ReadonlyArray<string | RegExp> | undefined;
transform?:
| ((
prefix: Readonly<string>,
selector: Readonly<string>,
prefixedSelector: Readonly<string>,
file: Readonly<string>,
) => string)
| undefined;
}
declare function postcssPrefixSelector(options: Readonly<Options>): (root: Root) => void;
export = postcssPrefixSelector;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: postcss
Credits
These definitions were written by robertmaier.