UNPKG

@types/inline-style-prefixer

Version:
37 lines (27 loc) 1.21 kB
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/inline-style-prefixer/index.d.ts) ````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](https://github.com/ahz), [dpetrezselyova](https://github.com/dpetrezselyova), and [Frank Li](https://github.com/franklixuefei).