1 | # Installation
|
2 | > `npm install --save @types/inline-style-prefixer`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for inline-style-prefixer (https://github.com/rofrischmann/inline-style-prefixer).
|
6 |
|
7 | # Details
|
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/inline-style-prefixer.
|
9 | ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/inline-style-prefixer/index.d.ts)
|
10 | ````ts
|
11 | export type Plugin = <T>(
|
12 | property: string,
|
13 | value: number | string | number[] | string[] | T,
|
14 | style: T,
|
15 | prefixMap?: Record<string, string[]>,
|
16 | ) => number | string | number[] | string[] | T | undefined;
|
17 |
|
18 | export interface StaticData {
|
19 | prefixMap: Record<string, string[]>;
|
20 | plugins: Plugin[];
|
21 | }
|
22 |
|
23 | export type Prefix = <T>(style: T) => T;
|
24 |
|
25 | export function createPrefixer(staticData: StaticData): Prefix;
|
26 |
|
27 | export const prefix: Prefix;
|
28 |
|
29 | ````
|
30 |
|
31 | ### Additional Details
|
32 | * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
|
33 | * Dependencies: none
|
34 |
|
35 | # Credits
|
36 | These definitions were written by [Andrej Hazucha](https://github.com/ahz), [dpetrezselyova](https://github.com/dpetrezselyova), and [Frank Li](https://github.com/franklixuefei).
|
37 |
|
\ | No newline at end of file |