UNPKG

firesage

Version:

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

10 lines (9 loc) • 394 B
import { DocumentSnapshot, QuerySnapshot } from '../types'; /** * Returns true if the provided snapshots are equal. * * @param left - A snapshot to compare. * @param right - A snapshot to compare. * @returns true if the snapshots are equal. */ export declare const snapshotEqual: <T extends DocumentSnapshot<any> | QuerySnapshot<any>, U extends T>(left: T, right: U) => boolean;