@types/react-router
Advanced tools
Comparing version 5.1.16 to 5.1.17
@@ -41,2 +41,3 @@ // Type definitions for React Router 5.1 | ||
export interface MemoryRouterProps { | ||
children?: React.ReactNode; | ||
initialEntries?: H.LocationDescriptor[] | undefined; | ||
@@ -106,2 +107,3 @@ initialIndex?: number | undefined; | ||
export interface RouterProps { | ||
children?: React.ReactNode; | ||
history: H.History; | ||
@@ -118,2 +120,3 @@ } | ||
basename?: string | undefined; | ||
children?: React.ReactNode; | ||
location?: string | object | undefined; | ||
@@ -120,0 +123,0 @@ context?: StaticRouterContext | undefined; |
{ | ||
"name": "@types/react-router", | ||
"version": "5.1.16", | ||
"version": "5.1.17", | ||
"description": "TypeScript definitions for React Router", | ||
@@ -128,4 +128,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-router", | ||
}, | ||
"typesPublisherContentHash": "446625c9bcb8136264005b26bc1f43afe252bb5fa2145fedc3a17a71285a6bc3", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "ed1e94ba609b2703ee57b3c7ab7e1ee7327cdac5414bb35da6dab52fabecc924", | ||
"typeScriptVersion": "3.7" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 07 Jul 2021 17:33:57 GMT | ||
* Last updated: Wed, 06 Oct 2021 20:31:29 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 |
@@ -16,2 +16,3 @@ import * as React from 'react'; | ||
export interface MemoryRouterProps { | ||
children?: React.ReactNode; | ||
initialEntries?: H.LocationDescriptor[]; | ||
@@ -75,2 +76,3 @@ initialIndex?: number; | ||
export interface RouterProps { | ||
children?: React.ReactNode; | ||
history: H.History; | ||
@@ -87,2 +89,3 @@ } | ||
basename?: string; | ||
children?: React.ReactNode; | ||
location?: string | object; | ||
@@ -89,0 +92,0 @@ context?: StaticRouterContext; |
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
19843
295