es-toolkit 1.25.2-dev.804 → 1.25.2-dev.806
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.
|
@@ -57,7 +57,7 @@ declare function filter<T>(arr: ArrayLike<T> | null | undefined, propertyToCheck
|
|
|
57
57
|
* Filters items from a object and returns an array of elements that match the given predicate function.
|
|
58
58
|
*
|
|
59
59
|
* @template T
|
|
60
|
-
* @param {T} object - The object to iterate over.
|
|
60
|
+
* @param {T | null | undefined} object - The object to iterate over.
|
|
61
61
|
* @param {(value: T[keyof T], key: keyof T, object: T) => unknown} doesMatch - The function invoked per iteration.
|
|
62
62
|
* @returns {T[]} - Returns a new array of elements that satisfy the given predicate function.
|
|
63
63
|
*
|
|
@@ -57,7 +57,7 @@ declare function filter<T>(arr: ArrayLike<T> | null | undefined, propertyToCheck
|
|
|
57
57
|
* Filters items from a object and returns an array of elements that match the given predicate function.
|
|
58
58
|
*
|
|
59
59
|
* @template T
|
|
60
|
-
* @param {T} object - The object to iterate over.
|
|
60
|
+
* @param {T | null | undefined} object - The object to iterate over.
|
|
61
61
|
* @param {(value: T[keyof T], key: keyof T, object: T) => unknown} doesMatch - The function invoked per iteration.
|
|
62
62
|
* @returns {T[]} - Returns a new array of elements that satisfy the given predicate function.
|
|
63
63
|
*
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "es-toolkit",
|
|
3
3
|
"description": "A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.",
|
|
4
|
-
"version": "1.25.2-dev.
|
|
4
|
+
"version": "1.25.2-dev.806+304d9d1c",
|
|
5
5
|
"homepage": "https://es-toolkit.slash.page",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|
|
7
7
|
"repository": {
|