firelordjs
Version:
🔥 High Precision Typescript Wrapper for Firestore Web, Providing Unparalleled Type Safe and Dev Experience
11 lines (10 loc) • 413 B
JavaScript
import { deleteDoc as deleteDoc_ } from '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).
*/
// @ts-expect-error
export var deleteDoc = deleteDoc_;