es-toolkit 1.20.0-dev.651 → 1.20.0-dev.652

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.
@@ -15,6 +15,6 @@
15
15
  * const result = omit(obj, ['b', 'c']);
16
16
  * // result will be { a: 1 }
17
17
  */
18
- declare function omit<T extends Record<string, any>, K extends keyof T>(obj: T, keys: K[]): Omit<T, K>;
18
+ declare function omit<T extends Record<string, any>, K extends keyof T>(obj: T, keys: readonly K[]): Omit<T, K>;
19
19
 
20
20
  export { omit };
@@ -15,6 +15,6 @@
15
15
  * const result = omit(obj, ['b', 'c']);
16
16
  * // result will be { a: 1 }
17
17
  */
18
- declare function omit<T extends Record<string, any>, K extends keyof T>(obj: T, keys: K[]): Omit<T, K>;
18
+ declare function omit<T extends Record<string, any>, K extends keyof T>(obj: T, keys: readonly K[]): Omit<T, K>;
19
19
 
20
20
  export { omit };
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.20.0-dev.651+212ba9ae",
4
+ "version": "1.20.0-dev.652+8b2cfa02",
5
5
  "homepage": "https://es-toolkit.slash.page",
6
6
  "bugs": "https://github.com/toss/es-toolkit/issues",
7
7
  "repository": {