From f800338e01940fc14068bd6338c7ec3f0d0a9933 Mon Sep 17 00:00:00 2001 From: Alexander Arvidsson Date: Sat, 24 Oct 2020 17:39:02 +0200 Subject: [PATCH] Fix typings for onAuthStateChanged --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 9e7ff7cc8..e11f79537 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1046,7 +1046,7 @@ interface ReactReduxFirebaseConfig { enableRedirectHandling: boolean firebaseStateName: string logErrors: boolean - onAuthStateChanged: (user: AuthTypes.User | null) => void + onAuthStateChanged: (user: AuthTypes.User | null, _firebase: any, dispatch: Dispatch) => void presence: any preserveOnEmptyAuthChange: any preserveOnLogout: any