10 lines
505 B
TypeScript
10 lines
505 B
TypeScript
import type * as lite from 'firebase/firestore/lite';
|
|
export type DocumentReference<T> = lite.DocumentReference<T>;
|
|
export type DocumentData = lite.DocumentData;
|
|
export type Query<T> = lite.Query<T>;
|
|
export type DocumentSnapshot<T> = lite.DocumentSnapshot<T>;
|
|
export type QuerySnapshot<T> = lite.QuerySnapshot<T>;
|
|
export type QueryDocumentSnapshot<T> = lite.QueryDocumentSnapshot<T>;
|
|
export type CountSnapshot = lite.AggregateQuerySnapshot<{
|
|
count: lite.AggregateField<number>;
|
|
}, any, DocumentData>;
|