UpdateData
Update data (for use with {@link (updateDoc:1)}) that consists of field paths (e.g. 'foo' or 'foo.baz') mapped to values. Fields that contain dots reference nested fields within the document. FieldValues can be passed in as property values.
type UpdateData<T> = T extends Primitive ? T : T extends {} ? [K in keyof T]?: UpdateData<T[K]> | FieldValue & NestedUpdateFields<T> : Partial<T>;
§Type
§
T extends Primitive ? T : T extends {} ? [K in keyof T]?: UpdateData<T[K]> | FieldValue & NestedUpdateFields<T> : Partial<T>
[src]