@types/react-router-dom
Advanced tools
Comparing version 5.1.5 to 5.1.6
@@ -10,3 +10,3 @@ // Type definitions for React Router 5.1 | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.8 | ||
// TypeScript Version: 3.1 | ||
@@ -63,5 +63,5 @@ import { match } from 'react-router'; | ||
export function Link<S = H.LocationState>( | ||
// TODO: Define this as ...params: Parameters<Link<S>> when only TypeScript >= 3.1 support is needed. | ||
props: React.PropsWithoutRef<LinkProps<S>> & React.RefAttributes<HTMLAnchorElement>, | ||
...params: Parameters<Link<S>> | ||
): ReturnType<Link<S>>; | ||
export interface Link<S = H.LocationState> | ||
@@ -68,0 +68,0 @@ extends React.ForwardRefExoticComponent< |
{ | ||
"name": "@types/react-router-dom", | ||
"version": "5.1.5", | ||
"version": "5.1.6", | ||
"description": "TypeScript definitions for React Router", | ||
@@ -51,4 +51,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "db19b62f12be68f935a34ddaf0ef22d129e734ba5e711b9869ed2a395c65a52f", | ||
"typeScriptVersion": "2.8" | ||
"typesPublisherContentHash": "2791a6cf56eeaaf5ab5683fa38f7948190889da47cc8af3ddc0520c4a0611c35", | ||
"typeScriptVersion": "3.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Sun, 26 Apr 2020 17:18:08 GMT | ||
* Last updated: Tue, 06 Oct 2020 15:25:29 GMT | ||
* Dependencies: [@types/react-router](https://npmjs.com/package/@types/react-router), [@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
6672
78