mixlea-utils-js 0.1.100 → 0.1.102
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/mixlea-utils-js.js +965 -973
- package/dist/mixlea-utils-js.umd.js +2 -2
- package/dist/types/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -190,6 +190,8 @@ export declare function arrayToObject<T = any>(arr: any[], keyGetter: string | (
|
|
|
190
190
|
|
|
191
191
|
export declare function arrayToShallowObject<T = any>(arr: any[], keyFn: (item: T) => string, valueFn: (item: T) => any): Record<any, any>;
|
|
192
192
|
|
|
193
|
+
export declare function average<T>(arr: T[]): number;
|
|
194
|
+
|
|
193
195
|
export declare function buildURL({ baseURL, url, params, }: {
|
|
194
196
|
baseURL?: string;
|
|
195
197
|
url: string;
|