@types/reach__router
Advanced tools
Comparing version 1.3.7 to 1.3.8
@@ -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 |
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
9135
144
0