Comparing version 1.0.14 to 1.0.15
type RecursivePartial<T> = { | ||
[P in keyof T]?: RecursivePartial<T[P]>; | ||
[K in keyof T]?: T[K] extends Array<infer U> ? Array<RecursivePartial<U>> : T[K] extends object ? RecursivePartial<T[K]> : T[K]; | ||
}; | ||
@@ -83,4 +83,4 @@ type QueryInstructions = { | ||
}; | ||
type RecursiveNullish<T> = T extends object ? { | ||
[P in keyof T]?: RecursiveNullish<T[P]> | null; | ||
type RecursiveNullish<T> = T extends Array<infer U> ? Array<RecursiveNullish<U>> : T extends Record<string, unknown> ? { | ||
[K in keyof T]?: RecursiveNullish<T[K]> | null; | ||
} : T | null | undefined; | ||
@@ -87,0 +87,0 @@ |
{ | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"name": "ronin", | ||
@@ -4,0 +4,0 @@ "scripts": { |
30860