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