diff --git a/src/firestore/document/document.ts b/src/firestore/document/document.ts index b39b99f3c..d1ce5d3db 100644 --- a/src/firestore/document/document.ts +++ b/src/firestore/document/document.ts @@ -56,7 +56,7 @@ export class AngularFirestoreDocument { * Update some fields of a document without overwriting the entire document. * @param data */ - update(data: T): Promise { + update(data: Partial): Promise { return this.ref.update(data); }