Browse Source

fix params matched type passed

修复类型参数传递的问题
pull/4482/head
liangyongrui 7 years ago
committed by 陈帅
parent
commit
dd66137133
  1. 2
      src/models/connect.d.ts

2
src/models/connect.d.ts

@ -49,7 +49,7 @@ export interface Route extends MenuDataItem {
* @type T: Params matched in dynamic routing
*/
export interface ConnectProps<T extends { [key: string]: any } = {}>
extends Partial<RouterTypes<Route>> {
extends Partial<RouterTypes<Route, T>> {
dispatch?: Dispatch;
}

Loading…
Cancel
Save