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.