Change state type as unknown
This commit is contained in:
parent
e85f39ebe2
commit
79708b37ae
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user