inferred-types 0.55.21 → 0.55.22

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.
@@ -16591,7 +16591,7 @@ declare function objectValues<T extends Record<ObjectKey$1, N>, N extends Narrow
16591
16591
  *
16592
16592
  * **Related:** `createOmission`, `withoutKeys`
16593
16593
  */
16594
- declare function omit<TObj extends Record<ObjectKey$1, N>, N extends Narrowable$1, TKeys extends readonly ObjectKey$1[] = readonly []>(obj: TObj, ...removeKeys: TKeys): WithoutKeys$1<TObj, TKeys>;
16594
+ declare function omit<TObj extends NarrowObject$1<N> | AnyObject$1, N extends Narrowable$1, TKeys extends readonly ObjectKey$1[] = readonly []>(obj: TObj, ...removeKeys: TKeys): Omit<TObj, TKeys[number]>;
16595
16595
 
16596
16596
  /**
16597
16597
  * **retain**(obj,...keys)
@@ -16667,7 +16667,7 @@ declare function withKeys<TObj extends Dictionary$1<string | symbol, N>, N exten
16667
16667
  *
16668
16668
  * **Related**: `omit`, `createOmission`
16669
16669
  */
16670
- declare function withoutKeys<TObj extends NarrowObject$1<N>, N extends Narrowable$1, TKeys extends readonly (string & keyof TObj)[]>(dict: TObj, ...exclude: TKeys): WithoutKeys$1<TObj, [...TKeys]>;
16670
+ declare function withoutKeys<TObj extends NarrowObject$1<N>, N extends Narrowable$1, TKeys extends readonly (string & keyof TObj)[]>(dict: TObj, ...exclude: TKeys): Omit<TObj, [...TKeys][number]>;
16671
16671
 
16672
16672
  type DictionaryWithoutValueFilter<Without extends Narrowable$1> = <T extends Record<ObjectKey$1, N>, N extends Narrowable$1>(obj: T) => WithoutValue$1<T, Without>;
16673
16673
  /**