UNPKG

firelordjs

Version:

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

9 lines (8 loc) • 382 B
import { __name__ } from '../types'; /** * Returns a special sentinel `FieldPath` to refer to the ID of a document. * It can be used in queries to sort or filter by the document ID. * documentId() no longer play any significant role because you can replace it with string `__name__`. * It is kept for backward compatibility. */ export declare const documentId: () => __name__;