UNPKG

firelordjs

Version:

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

5 lines (4 loc) • 248 B
import { MetaType } from '../metaTypeCreator'; import { DocumentReference } from '../refs'; import { DocumentSnapshot } from '../snapshot'; export type GetDoc = <T extends MetaType>(reference: DocumentReference<T>) => Promise<DocumentSnapshot<T>>;