es-toolkit 1.23.0-dev.723 → 1.23.0-dev.724
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.
|
@@ -25,7 +25,7 @@ declare function pick<T extends Record<string, any>, K extends keyof T>(obj: T,
|
|
|
25
25
|
* @template T - The type of object.
|
|
26
26
|
* @param {T | null | undefined} obj - The object to pick keys from.
|
|
27
27
|
* @param {...any} keys
|
|
28
|
-
* @param {PropertyKey | PropertyKey[] |
|
|
28
|
+
* @param {PropertyKey | PropertyKey[] | PropertyKey[][]}} keys - An array of keys to be picked from the object. received keys goes through a flattening process before being used.
|
|
29
29
|
* @returns {Partial<T, K>} A new object with the specified keys picked.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
@@ -25,7 +25,7 @@ declare function pick<T extends Record<string, any>, K extends keyof T>(obj: T,
|
|
|
25
25
|
* @template T - The type of object.
|
|
26
26
|
* @param {T | null | undefined} obj - The object to pick keys from.
|
|
27
27
|
* @param {...any} keys
|
|
28
|
-
* @param {PropertyKey | PropertyKey[] |
|
|
28
|
+
* @param {PropertyKey | PropertyKey[] | PropertyKey[][]}} keys - An array of keys to be picked from the object. received keys goes through a flattening process before being used.
|
|
29
29
|
* @returns {Partial<T, K>} A new object with the specified keys picked.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
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.23.0-dev.
|
|
4
|
+
"version": "1.23.0-dev.724+04d903e8",
|
|
5
5
|
"homepage": "https://es-toolkit.slash.page",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|
|
7
7
|
"repository": {
|