Change state type as unknown
This commit is contained in:
1 parent
e85f39ebe2
commit
79708b37ae
1 file changed
+1
-1
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user