@types/reach__router
Advanced tools
Comparing version 1.3.11 to 1.3.12
@@ -11,3 +11,3 @@ // Type definitions for @reach/router 1.3 | ||
import * as React from 'react'; | ||
import * as React from "react"; | ||
@@ -21,5 +21,5 @@ export interface HLocation<S = unknown> { | ||
} | ||
export type WindowLocation<S = unknown> = Window['location'] & HLocation<S>; | ||
export type WindowLocation<S = unknown> = Window["location"] & HLocation<S>; | ||
export type HistoryActionType = 'PUSH' | 'POP'; | ||
export type HistoryActionType = "PUSH" | "POP"; | ||
export type HistoryLocation = WindowLocation & { state?: any }; | ||
@@ -61,3 +61,3 @@ export interface HistoryListenerParameter { | ||
React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, | ||
'href' // remove href, as it's ignored by the router | ||
"href" // remove href, as it's ignored by the router | ||
>; | ||
@@ -85,6 +85,7 @@ | ||
): ReturnType<Link<TState>>; | ||
export interface Link<TState> | ||
extends React.ForwardRefExoticComponent< | ||
export interface Link<TState> extends | ||
React.ForwardRefExoticComponent< | ||
React.PropsWithoutRef<LinkProps<TState>> & React.RefAttributes<HTMLAnchorElement> | ||
> {} | ||
> | ||
{} | ||
@@ -91,0 +92,0 @@ export interface RedirectProps<TState> { |
{ | ||
"name": "@types/reach__router", | ||
"version": "1.3.11", | ||
"version": "1.3.12", | ||
"description": "TypeScript definitions for @reach/router", | ||
@@ -45,4 +45,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/reach__router", | ||
}, | ||
"typesPublisherContentHash": "74462e214effdfb4564cebeeec3d3d811aaef218abde3b63252872d0cc9ae400", | ||
"typeScriptVersion": "4.1" | ||
"typesPublisherContentHash": "bd19b954b20351fb0967891be4b996dca0f871cc7e8cb07455d1c543b3fbb911", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 06 Oct 2022 02:32:59 GMT | ||
* Last updated: Wed, 27 Sep 2023 07:12:04 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -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
144