We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ff762d commit 297cabbCopy full SHA for 297cabb
src/firestore/document/document.ts
@@ -56,7 +56,7 @@ export class AngularFirestoreDocument<T> {
56
* Update some fields of a document without overwriting the entire document.
57
* @param data
58
*/
59
- update(data: T): Promise<void> {
+ update(data: Partial<T>): Promise<void> {
60
return this.ref.update(data);
61
}
62
0 commit comments