mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
updated react-router-redux createMatchSelector definition to not have generic
This commit is contained in:
Vendored
+1
-1
@@ -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,6 +1,3 @@
|
||||
{
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
"no-unnecessary-generics": false
|
||||
}
|
||||
"extends": "dtslint/dt.json"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user