Skip to content

Commit 073ab9c

Browse files
committed
Update API reports
1 parent 831035f commit 073ab9c

File tree

2 files changed

+527
-527
lines changed

2 files changed

+527
-527
lines changed

common/api-review/firestore-lite.api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class Bytes {
3333
}
3434

3535
// @public
36-
export type ChildUpdateFields<T1, K extends string> = T1 extends Record<string, unknown> ? AddPrefixToKeys<K, UpdateData<T1>> : never;
36+
export type ChildUpdateFields<K extends string, V> = V extends Record<string, unknown> ? AddPrefixToKeys<K, UpdateData<V>> : never;
3737

3838
// @public
3939
export function collection(firestore: Firestore, path: string, ...pathSegments: string[]): CollectionReference<DocumentData>;
@@ -194,7 +194,7 @@ export { LogLevel }
194194

195195
// @public
196196
export type NestedUpdateFields<T extends Record<string, unknown>> = UnionToIntersection<{
197-
[K in keyof T & string]: ChildUpdateFields<T[K], K>;
197+
[K in keyof T & string]: ChildUpdateFields<K, T[K]>;
198198
}[keyof T & string]>;
199199

200200
// @public

0 commit comments

Comments
 (0)