@types/react-router
Advanced tools
Comparing version 5.1.10 to 5.1.11
@@ -142,3 +142,3 @@ // Type definitions for React Router 5.1 | ||
export type ExtractRouteParams<T extends string> = string extends T | ||
? Record<string, string | number> | ||
? { [k in string]?: string | number | boolean } | ||
: T extends `${infer _Start}:${infer Param}/${infer Rest}` | ||
@@ -145,0 +145,0 @@ ? ExtractRouteOptionalParam<Param> & ExtractRouteParams<Rest> |
{ | ||
"name": "@types/react-router", | ||
"version": "5.1.10", | ||
"version": "5.1.11", | ||
"description": "TypeScript definitions for React Router", | ||
@@ -127,4 +127,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "ed4af19df45cd4192eb1947d0a3001cbc40e34c129b54bbbc04bf66b5ab9dc27", | ||
"typesPublisherContentHash": "961c2fa917a2e0fb12404dd928f6e7ce482dd9b54353b0fca2443ffd9151937c", | ||
"typeScriptVersion": "3.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 06 Jan 2021 14:53:46 GMT | ||
* Last updated: Fri, 08 Jan 2021 18:07:12 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 |
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
18326