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

1.16.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/postcss-prefix-selector

Weekly Downloads

16,291

Version

1.16.3

License

MIT

Unpacked Size

4 kB

Total Files

5

Last publish

Collaborators

  • types