es-toolkit 1.26.1-dev.873 → 1.27.0-dev.874

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.
@@ -87,7 +87,7 @@ declare function forEach<T>(array: ArrayLike<T>, callback?: (value: T, index: nu
87
87
  * Iterates over each element of the object invoking the provided callback function for each property.
88
88
  *
89
89
  * @template T - The type of object.
90
- * @param {T} object - The object to iterate over
90
+ * @param {T} object - The object to iterate over.
91
91
  * @param {(value: T[keyof T], key: keyof T, object: T) => unknown} [callback] - The function invoked for each property.
92
92
  * The callback function receives three arguments:
93
93
  * - 'value': The current property being processed in the object.
@@ -87,7 +87,7 @@ declare function forEach<T>(array: ArrayLike<T>, callback?: (value: T, index: nu
87
87
  * Iterates over each element of the object invoking the provided callback function for each property.
88
88
  *
89
89
  * @template T - The type of object.
90
- * @param {T} object - The object to iterate over
90
+ * @param {T} object - The object to iterate over.
91
91
  * @param {(value: T[keyof T], key: keyof T, object: T) => unknown} [callback] - The function invoked for each property.
92
92
  * The callback function receives three arguments:
93
93
  * - 'value': The current property being processed in the object.
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * Finds the key of the first element in the object that satisfies the provided testing function.
3
3
  *
4
- * @param obj - The object to search.
5
- * @param predicate - The function to execute on each value in the object. It takes three arguments:
4
+ * @param {T} obj - The object to search.
5
+ * @param {(value: T[keyof T], key: keyof T, obj: T) => boolean} predicate - The function to execute on each value in the object. It takes three arguments:
6
6
  * - value: The current value being processed in the object.
7
7
  * - key: The key of the current value being processed in the object.
8
8
  * - obj: The object that findKey was called upon.
9
- * @returns The key of the first element in the object that passes the test, or undefined if no element passes.
9
+ * @returns {keyof T | undefined} The key of the first element in the object that passes the test, or undefined if no element passes.
10
10
  *
11
11
  * @example
12
12
  * const users = {
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * Finds the key of the first element in the object that satisfies the provided testing function.
3
3
  *
4
- * @param obj - The object to search.
5
- * @param predicate - The function to execute on each value in the object. It takes three arguments:
4
+ * @param {T} obj - The object to search.
5
+ * @param {(value: T[keyof T], key: keyof T, obj: T) => boolean} predicate - The function to execute on each value in the object. It takes three arguments:
6
6
  * - value: The current value being processed in the object.
7
7
  * - key: The key of the current value being processed in the object.
8
8
  * - obj: The object that findKey was called upon.
9
- * @returns The key of the first element in the object that passes the test, or undefined if no element passes.
9
+ * @returns {keyof T | undefined} The key of the first element in the object that passes the test, or undefined if no element passes.
10
10
  *
11
11
  * @example
12
12
  * const users = {
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.26.1-dev.873+3123121d",
4
+ "version": "1.27.0-dev.874+60b2de6d",
5
5
  "homepage": "https://es-toolkit.slash.page",
6
6
  "bugs": "https://github.com/toss/es-toolkit/issues",
7
7
  "repository": {