firesage
Version:
🔥 Extremely High Precision Typescript Wrapper for Firestore Web, Providing Unparalleled Type Safe and Dev Experience
15 lines (12 loc) • 548 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.deleteDoc = void 0;
var firestore_1 = require("firebase/firestore");
/**
Deletes the document referred to by the specified DocumentReference.
@param reference — A reference to the document to delete.
@returns A Promise resolved once the document has been successfully deleted from the backend (note that it won't resolve while you're offline).
*/
exports.deleteDoc = (function (reference) {
return (0, firestore_1.deleteDoc)(reference);
});