updated react-router-redux createMatchSelector definition to not have generic

This commit is contained in:
Mykolas Kairys
2018-03-28 11:24:08 +03:00
parent c3545db618
commit 026dc969c2
2 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -80,4 +80,4 @@ export interface LocationChangeAction {
export function routerMiddleware(history: History): Middleware;
export function createMatchSelector<State extends { router: RouterState }, Params>(path: string): (state: State) => match<Params> | null;
export function createMatchSelector(path: string): (state: { router: RouterState }) => match<{}> | null;
+1 -4
View File
@@ -1,6 +1,3 @@
{
"extends": "dtslint/dt.json",
"rules": {
"no-unnecessary-generics": false
}
"extends": "dtslint/dt.json"
}