From 79708b37ae0fe10a76192ead1ef3ed5eef67cfa5 Mon Sep 17 00:00:00 2001 From: kazukinagata Date: Tue, 28 Jul 2020 11:09:01 +0900 Subject: [PATCH] Change state type as unknown --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index 4d987a6..0b908ce 100644 --- a/src/types.ts +++ b/src/types.ts @@ -207,7 +207,7 @@ export interface SingleLayerStringMap { export interface GenerateRequireSignInWrapperConfig { readonly redirectPathIfNotSignedIn: string - readonly mapStateToProps: (state: object) => {hasVerificationBeenAttempted: boolean, isSignedIn: boolean} + readonly mapStateToProps: (state: unknown) => {hasVerificationBeenAttempted: boolean, isSignedIn: boolean} } // export type RequireSignInWrapper = (PageComponent: ComponentClass) => ComponentClass