deleteDoc
Deletes the document referred to by the specified DocumentReference
.
function deleteDoc<AppModelType, DbModelType extends DocumentData>(reference: DocumentReference<AppModelType, DbModelType>): Promise<void>;
§
deleteDoc<AppModelType, DbModelType extends DocumentData>(reference: DocumentReference<AppModelType, DbModelType>): Promise<void>
[src]§Parameters
§
reference: DocumentReference<AppModelType, DbModelType>
[src]- A reference to the document to delete.