@amaui/date
Advanced tools
Comparing version 1.0.11431 to 1.0.11433
@@ -1,1 +0,1 @@ | ||
export default function duration(value: number, unitAbbr?: boolean, raw?: boolean, separator?: string, display?: string[]): {}; | ||
export default function duration(value: number, unitAbbr?: boolean, raw?: boolean, separator?: string, display?: string[]): string; |
@@ -43,5 +43,5 @@ "use strict"; | ||
values.forEach((value_) => result += ` ${value_}`); | ||
return raw ? valuesRaw : result.trim(); | ||
return (raw ? valuesRaw : result.trim()); | ||
} | ||
} | ||
exports.default = duration; |
@@ -1,2 +0,2 @@ | ||
/** @license AmauiDate v1.0.11431 | ||
/** @license AmauiDate v1.0.11433 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
{ | ||
"name": "@amaui/date", | ||
"version": "1.0.11431", | ||
"version": "1.0.11433", | ||
"description": "Time and date utils library", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/amaui-org/amaui-date.git", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
443625