UNPKG

firesage

Version:

🔥 Extremely High Precision Typescript Wrapper for Firestore Web, Providing Unparalleled Type Safe and Dev Experience

10 lines (9 loc) • 478 B
import { MetaType } from './metaTypeCreator'; import { DocumentReference } from './refs'; import { Transaction } from './transaction'; import { WriteBatch } from './batch'; declare type DeleteCreator<U> = <T extends MetaType>(reference: DocumentReference<T>) => U; export declare type Delete = DeleteCreator<Promise<void>>; export declare type WriteBatchDelete = DeleteCreator<WriteBatch>; export declare type TransactionDelete = DeleteCreator<Transaction>; export {};