@types/react-router
Advanced tools
Comparing version 5.1.5 to 5.1.6
@@ -165,3 +165,3 @@ // Type definitions for React Router 5.1 | ||
export function useParams<Params extends { [K in keyof Params]?: string } = {}>(): { [p in keyof Params]: keyof Params[p] extends undefined ? string | undefined : string }; | ||
export function useParams<Params extends { [K in keyof Params]?: string } = {}>(): Params; | ||
@@ -168,0 +168,0 @@ export function useRouteMatch<Params extends { [K in keyof Params]?: string } = {}>(): match<Params>; |
{ | ||
"name": "@types/react-router", | ||
"version": "5.1.5", | ||
"version": "5.1.6", | ||
"description": "TypeScript definitions for React Router", | ||
@@ -125,4 +125,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "0327e56382d7b8ec57ea1275cf88f63b068ec69a45cdf3e825368238b7e73868", | ||
"typesPublisherContentHash": "aa4902cf5fcf8add9ba07733d41e08ea65c04f7a234a04299c7808397697c493", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 31 Mar 2020 23:35:04 GMT | ||
* Last updated: Sun, 26 Apr 2020 17:18:08 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react), [@types/history](https://npmjs.com/package/@types/history) | ||
@@ -14,0 +14,0 @@ * Global values: none |
Sorry, the diff of this file is not supported yet
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
13008