deverything 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -5
- package/dist/index.global.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -189,10 +189,7 @@ declare const formatPercentage: (value: number, { digits, }?: {
|
|
|
189
189
|
}) => string;
|
|
190
190
|
|
|
191
191
|
/**
|
|
192
|
-
*
|
|
193
|
-
* @example formatProgress({ index: -1, total: 10 }) => [1/10] capped
|
|
194
|
-
* @example formatProgress({ index: 1, total: 10 }) => [2/10]
|
|
195
|
-
* @example formatProgress({ index: 11, total: 10 }) => [10/10] capped
|
|
192
|
+
* @deprecated Use `formatIndexProgress` instead.
|
|
196
193
|
*/
|
|
197
194
|
declare const formatProgress: ({ index, total, }: {
|
|
198
195
|
index: number;
|
|
@@ -411,7 +408,7 @@ declare const truncate: (arg: string, limit: number, { ellipsis, position, }?: {
|
|
|
411
408
|
position?: "start" | "middle" | "end" | undefined;
|
|
412
409
|
}) => string;
|
|
413
410
|
|
|
414
|
-
declare const uniqueValues: (arr:
|
|
411
|
+
declare const uniqueValues: <T>(arr: T[]) => T[];
|
|
415
412
|
|
|
416
413
|
/**
|
|
417
414
|
* Calculates the average of a list of numbers.
|