Skip to content

Commit 8865d09

Browse files
author
Brian Chen
committed
fix lint
1 parent ff1b945 commit 8865d09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/firestore/src/lite-api/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export type NestedUpdateFields<T extends Record<string, unknown>> =
4848
*/
4949
export type ChildUpdateFields<T, K extends string> =
5050
// Only allow nesting for map values
51-
T extends Record<string, any>
51+
T extends Record<string, unknown>
5252
? // Recurse into the map and add the prefix in front of each key
5353
// (e.g. Prefix 'bar.' to create: 'bar.baz' and 'bar.qux'.
5454
AddPrefixToKeys<K, UpdateData<T>>

0 commit comments

Comments
 (0)