@thi.ng/arrays
Advanced tools
Comparing version
# Change Log | ||
- **Last updated**: 2025-07-10T14:20:23Z | ||
- **Last updated**: 2025-07-15T09:30:47Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -14,2 +14,10 @@ | ||
### [2.13.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/arrays@2.13.3) (2025-07-15) | ||
#### ♻️ Refactoring | ||
- add optional generics ([ba81685](https://github.com/thi-ng/umbrella/commit/ba81685)) | ||
- update `ensureArray()`/`ensureArrayLike()` | ||
- update `ensureIterable()` | ||
## [2.13.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/arrays@2.13.0) (2025-06-18) | ||
@@ -16,0 +24,0 @@ |
@@ -12,3 +12,3 @@ /** | ||
*/ | ||
export declare const ensureArray: (x: any) => any[]; | ||
export declare const ensureArray: <T = any>(x: any) => T[]; | ||
/** | ||
@@ -21,3 +21,3 @@ * Similar to {@link ensureArray}, but for `ArrayLike` types. | ||
*/ | ||
export declare const ensureArrayLike: (x: any) => ArrayLike<any>; | ||
export declare const ensureArrayLike: <T = any>(x: any) => ArrayLike<T>; | ||
//# sourceMappingURL=ensure-array.d.ts.map |
@@ -7,3 +7,3 @@ /** | ||
*/ | ||
export declare const ensureIterable: (x: any) => Iterable<any>; | ||
export declare const ensureIterable: <T = any>(x: any) => Iterable<T>; | ||
//# sourceMappingURL=ensure-iterable.d.ts.map |
{ | ||
"name": "@thi.ng/arrays", | ||
"version": "2.13.2", | ||
"version": "2.13.3", | ||
"description": "Array / Arraylike utilities", | ||
@@ -190,3 +190,3 @@ "type": "module", | ||
}, | ||
"gitHead": "56d8f088389b22192a06e9a395b5eecebf47697a\n" | ||
"gitHead": "9ec4a5584ed6e59f2b74f4ca9726daef7e766974\n" | ||
} |
85376
0.35%