@splidejs/utils
Advanced tools
Comparing version 1.1.3 to 1.1.4
/** | ||
* Appends `px` to the provided number. | ||
* If the value is already string, just returns it. | ||
* Note that this always returns an empty string if the value is falsy. | ||
* | ||
@@ -9,2 +10,2 @@ * @param value - A value to append `px` to. | ||
*/ | ||
export declare function unit(value: number | string): string; | ||
export declare function unit(value: number | string | undefined | null): string; |
{ | ||
"name": "@splidejs/utils", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"main": "dist/splide-utils.cjs.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/splide-utils.esm.js", |
74247
1858