@m1212e/rumble 0.10.1 → 0.10.2

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.
package/index.d.cts CHANGED
@@ -163,7 +163,7 @@ declare const assertFirstEntryExists: <T>(value: T[]) => T;
163
163
  *
164
164
  * ```
165
165
  */
166
- declare function mapNullFieldsToUndefined<T extends object>(obj: T): { [K in keyof T]: T[K] extends null ? undefined : T[K]; };
166
+ declare function mapNullFieldsToUndefined<T extends object>(obj: T): { [K in keyof T]: T[K] extends null ? undefined : Exclude<T[K], null>; };
167
167
 
168
168
  type QueryFilterObject = Partial<{
169
169
  where: any;
package/index.d.ts CHANGED
@@ -163,7 +163,7 @@ declare const assertFirstEntryExists: <T>(value: T[]) => T;
163
163
  *
164
164
  * ```
165
165
  */
166
- declare function mapNullFieldsToUndefined<T extends object>(obj: T): { [K in keyof T]: T[K] extends null ? undefined : T[K]; };
166
+ declare function mapNullFieldsToUndefined<T extends object>(obj: T): { [K in keyof T]: T[K] extends null ? undefined : Exclude<T[K], null>; };
167
167
 
168
168
  type QueryFilterObject = Partial<{
169
169
  where: any;