Change state type as unknown

This commit is contained in:
kazukinagata 2020-07-28 11:09:01 +09:00
parent e85f39ebe2
commit 79708b37ae

View File

@ -207,7 +207,7 @@ export interface SingleLayerStringMap {
export interface GenerateRequireSignInWrapperConfig { export interface GenerateRequireSignInWrapperConfig {
readonly redirectPathIfNotSignedIn: string 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 // export type RequireSignInWrapper = (PageComponent: ComponentClass) => ComponentClass