firesage
Version:
🔥 Extremely High Precision Typescript Wrapper for Firestore Web, Providing Unparalleled Type Safe and Dev Experience
14 lines (9 loc) • 528 B
TypeScript
import { Set } from '../types';
/**
Writes to the document referred to by this DocumentReference. If the document does not yet exist, it will be created.
@param reference — A reference to the document to write.
@param data — A map of the fields and values for the document.
@param options - An object to configure the set behavior.
@returns A Promise resolved once the data has been successfully written to the backend (note that it won't resolve while you're offline).
*/
export declare const setDoc: Set;