From 3b2e5d6cfc051c77c88e81471ccb58f929eeba9d Mon Sep 17 00:00:00 2001 From: Michael Solati Date: Wed, 2 Jan 2019 12:42:21 -0800 Subject: [PATCH] fix(GeoFirestoreTypes): DocumentChange `doc` should return QueryDocumentSnapshot --- src/GeoFirestoreTypes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GeoFirestoreTypes.ts b/src/GeoFirestoreTypes.ts index 788133c..8dbfe81 100644 --- a/src/GeoFirestoreTypes.ts +++ b/src/GeoFirestoreTypes.ts @@ -11,7 +11,7 @@ export namespace GeoFirestoreTypes { } export type DocumentData = { [field: string]: any } | undefined; export interface DocumentChange { - doc: DocumentData; + doc: QueryDocumentSnapshot; newIndex: number; oldIndex: number; type: 'added' | 'modified' | 'removed';