@types/inline-style-prefixer
TypeScript icon, indicating that this package has built-in type declarations

5.0.3 • Public • Published

Installation

npm install --save @types/inline-style-prefixer

Summary

This package contains type definitions for inline-style-prefixer (https://github.com/rofrischmann/inline-style-prefixer).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/inline-style-prefixer.

index.d.ts

export type Plugin = <T>(
    property: string,
    value: number | string | number[] | string[] | T,
    style: T,
    prefixMap?: Record<string, string[]>,
) => number | string | number[] | string[] | T | undefined;

export interface StaticData {
    prefixMap: Record<string, string[]>;
    plugins: Plugin[];
}

export type Prefix = <T>(style: T) => T;

export function createPrefixer(staticData: StaticData): Prefix;

export const prefix: Prefix;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Andrej Hazucha, dpetrezselyova, and Frank Li.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/inline-style-prefixer

Weekly Downloads

4,364

Version

5.0.3

License

MIT

Unpacked Size

3.96 kB

Total Files

5

Last publish

Collaborators

  • types