We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff1b945 commit 8865d09Copy full SHA for 8865d09
packages/firestore/src/lite-api/types.ts
@@ -48,7 +48,7 @@ export type NestedUpdateFields<T extends Record<string, unknown>> =
48
*/
49
export type ChildUpdateFields<T, K extends string> =
50
// Only allow nesting for map values
51
- T extends Record<string, any>
+ T extends Record<string, unknown>
52
? // Recurse into the map and add the prefix in front of each key
53
// (e.g. Prefix 'bar.' to create: 'bar.baz' and 'bar.qux'.
54
AddPrefixToKeys<K, UpdateData<T>>
0 commit comments