@types/react-router-redux
Advanced tools
Comparing version 5.0.22 to 5.0.23
@@ -9,17 +9,6 @@ // Type definitions for react-router-redux 5.0 | ||
import { | ||
Store, | ||
Dispatch, | ||
Middleware, | ||
Reducer | ||
} from 'redux'; | ||
import { | ||
History, | ||
Location, | ||
Path, | ||
LocationState, | ||
LocationDescriptor | ||
} from 'history'; | ||
import * as React from 'react'; | ||
import { match } from 'react-router'; | ||
import { History, Location, LocationDescriptor, LocationState, Path } from "history"; | ||
import * as React from "react"; | ||
import { match } from "react-router"; | ||
import { Dispatch, Middleware, Reducer, Store } from "redux"; | ||
@@ -33,3 +22,3 @@ export interface ConnectedRouterProps<State> { | ||
export const LOCATION_CHANGE = '@@router/LOCATION_CHANGE'; | ||
export const LOCATION_CHANGE = "@@router/LOCATION_CHANGE"; | ||
@@ -42,3 +31,3 @@ export interface RouterState { | ||
export const CALL_HISTORY_METHOD = '@@router/CALL_HISTORY_METHOD'; | ||
export const CALL_HISTORY_METHOD = "@@router/CALL_HISTORY_METHOD"; | ||
@@ -52,7 +41,7 @@ export function push(location: LocationDescriptor, state?: LocationState): RouterAction; | ||
export const routerActions: { | ||
push: typeof push | ||
replace: typeof replace | ||
go: typeof go | ||
goBack: typeof goBack | ||
goForward: typeof goForward | ||
push: typeof push; | ||
replace: typeof replace; | ||
go: typeof go; | ||
goBack: typeof goBack; | ||
goForward: typeof goForward; | ||
}; | ||
@@ -79,6 +68,6 @@ | ||
isExact: boolean; | ||
}, | ||
}; | ||
location: Location; | ||
history: History; | ||
} | undefined | ||
} | undefined; | ||
}; | ||
@@ -85,0 +74,0 @@ } |
{ | ||
"name": "@types/react-router-redux", | ||
"version": "5.0.22", | ||
"version": "5.0.23", | ||
"description": "TypeScript definitions for react-router-redux", | ||
@@ -38,4 +38,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-router-redux", | ||
}, | ||
"typesPublisherContentHash": "9b64e9744a5113f79a1d3a46309ed6a720955501753b0aeaeb21fcda85ce21ca", | ||
"typeScriptVersion": "4.3" | ||
"typesPublisherContentHash": "bbb390b024811b1b1f8da5e4a767838f52a5503db1ea0bb9b795f2c12c1f5eb5", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -19,17 +19,6 @@ # Installation | ||
import { | ||
Store, | ||
Dispatch, | ||
Middleware, | ||
Reducer | ||
} from 'redux'; | ||
import { | ||
History, | ||
Location, | ||
Path, | ||
LocationState, | ||
LocationDescriptor | ||
} from 'history'; | ||
import * as React from 'react'; | ||
import { match } from 'react-router'; | ||
import { History, Location, LocationDescriptor, LocationState, Path } from "history"; | ||
import * as React from "react"; | ||
import { match } from "react-router"; | ||
import { Dispatch, Middleware, Reducer, Store } from "redux"; | ||
@@ -43,3 +32,3 @@ export interface ConnectedRouterProps<State> { | ||
export const LOCATION_CHANGE = '@@router/LOCATION_CHANGE'; | ||
export const LOCATION_CHANGE = "@@router/LOCATION_CHANGE"; | ||
@@ -52,3 +41,3 @@ export interface RouterState { | ||
export const CALL_HISTORY_METHOD = '@@router/CALL_HISTORY_METHOD'; | ||
export const CALL_HISTORY_METHOD = "@@router/CALL_HISTORY_METHOD"; | ||
@@ -62,7 +51,7 @@ export function push(location: LocationDescriptor, state?: LocationState): RouterAction; | ||
export const routerActions: { | ||
push: typeof push | ||
replace: typeof replace | ||
go: typeof go | ||
goBack: typeof goBack | ||
goForward: typeof goForward | ||
push: typeof push; | ||
replace: typeof replace; | ||
go: typeof go; | ||
goBack: typeof goBack; | ||
goForward: typeof goForward; | ||
}; | ||
@@ -89,6 +78,6 @@ | ||
isExact: boolean; | ||
}, | ||
}; | ||
location: Location; | ||
history: History; | ||
} | undefined | ||
} | undefined; | ||
}; | ||
@@ -104,3 +93,3 @@ } | ||
### Additional Details | ||
* Last updated: Wed, 05 Apr 2023 19:33:20 GMT | ||
* Last updated: Wed, 27 Sep 2023 07:12:04 GMT | ||
* Dependencies: [@types/history](https://npmjs.com/package/@types/history), [@types/react](https://npmjs.com/package/@types/react), [@types/react-router](https://npmjs.com/package/@types/react-router), [@types/redux](https://npmjs.com/package/@types/redux) | ||
@@ -107,0 +96,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7967
60
94