UNPKG

1.12 kBTypeScriptView Raw
1/**
2 * Returns the number with a suffix of %
3 */
4export declare const percent: (val: number) => string | number;
5/**
6 * Returns the number with a suffix of deg
7 */
8export declare const deg: (val: number) => string | number;
9/**
10 * Returns the number with a suffix of em
11 */
12export declare const em: (val: number) => string | number;
13/**
14 * Returns the number with a suffix of ex
15 */
16export declare const ex: (val: number) => string | number;
17/**
18 * Returns the number with a suffix of px
19 */
20export declare const px: (val: number) => string | number;
21/**
22 * Returns the number with a suffix of rad
23 */
24export declare const rad: (val: number) => string | number;
25/**
26 * Returns the number with a suffix of rem
27 */
28export declare const rem: (val: number) => string | number;
29/**
30 * Returns the number with a suffix of vh
31 */
32export declare const viewHeight: (val: number) => string | number;
33/**
34 * Returns the number with a suffix of vw
35 */
36export declare const viewWidth: (val: number) => string | number;
37/**
38 * Returns the number with a suffix of turn
39 */
40export declare const turn: (val: number) => string | number;