Socket
Socket
Sign inDemoInstall

@types/reach__router

Package Overview
Dependencies
3
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.7 to 1.3.8

4

reach__router/index.d.ts

@@ -180,4 +180,6 @@ // Type definitions for @reach/router 1.3

export function useParams(): any;
// TODO: In the next major release update we should update the type parameter default of TPrams from `any` to `{}`,
// it is currently being keep for backwards compatibility with version 1.3.7 or below.
export function useParams<TParams extends { [Param in keyof TParams]?: string } = any>(): TParams;
export function useMatch(pathname: string): null | { uri: string; path: string; [param: string]: string };
{
"name": "@types/reach__router",
"version": "1.3.7",
"version": "1.3.8",
"description": "TypeScript definitions for @reach/router",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/reach__router",
"license": "MIT",

@@ -49,4 +50,4 @@ "contributors": [

},
"typesPublisherContentHash": "873f0b51f5ced35ee398c77cc81026e05b332908b748718b1bf31f5a9d5a6d20",
"typeScriptVersion": "3.4"
"typesPublisherContentHash": "4f9e1b2180b60154407899535bc30cba6e564498d87d01bf194f1f72ecb2c754",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Fri, 22 Jan 2021 00:05:17 GMT
* Last updated: Tue, 01 Jun 2021 21:31:55 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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc