|
|
@ -36,5 +36,5 @@ export interface Route extends MenuDataItem { |
|
|
* @type T: Params matched in dynamic routing |
|
|
* @type T: Params matched in dynamic routing |
|
|
*/ |
|
|
*/ |
|
|
export interface ConnectProps<T = {}> extends Partial<RouterTypes<Route, T>> { |
|
|
export interface ConnectProps<T = {}> extends Partial<RouterTypes<Route, T>> { |
|
|
dispatch?<K = any>(action: AnyAction): K; |
|
|
dispatch?: Dispatch<AnyAction>; |
|
|
} |
|
|
} |
|
|
|