Commit dd661371 authored by liangyongrui's avatar liangyongrui Committed by 陈帅

fix params matched type passed

修复类型参数传递的问题
parent 33f56297
...@@ -49,7 +49,7 @@ export interface Route extends MenuDataItem { ...@@ -49,7 +49,7 @@ export interface Route extends MenuDataItem {
* @type T: Params matched in dynamic routing * @type T: Params matched in dynamic routing
*/ */
export interface ConnectProps<T extends { [key: string]: any } = {}> export interface ConnectProps<T extends { [key: string]: any } = {}>
extends Partial<RouterTypes<Route>> { extends Partial<RouterTypes<Route, T>> {
dispatch?: Dispatch; dispatch?: Dispatch;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment