Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/reach__router

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/reach__router - npm Package Compare versions

Comparing version 1.3.11 to 1.3.12

15

reach__router/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc