From da2cc07bbcf1c35695af0ca95537d09c6da077f5 Mon Sep 17 00:00:00 2001 From: Cyrille Date: Thu, 8 Oct 2020 15:07:17 +0200 Subject: [PATCH] Move the FirestoreStatics interface to where it's actually implemented by Firebase. Closes #1012 --- index.d.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/index.d.ts b/index.d.ts index 9e7ff7cc8..8379223f4 100644 --- a/index.d.ts +++ b/index.d.ts @@ -168,7 +168,7 @@ interface BaseExtendedFirebaseInstance ExtendedStorageInstance { initializeAuth: VoidFunction - firestore: () => ExtendedFirestoreInstance + firestore: (() => ExtendedFirestoreInstance) & FirestoreStatics dispatch: Dispatch @@ -479,8 +479,7 @@ export type ReduxFirestoreQueriesFunction = ( * @see https://github.com/prescottprue/redux-firestore#api */ interface ExtendedFirestoreInstance - extends FirestoreTypes.FirebaseFirestore, - FirestoreStatics { + extends FirestoreTypes.FirebaseFirestore { /** * Get data from firestore. * @see https://github.com/prescottprue/redux-firestore#get