@types/redux-first-router
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -10,2 +10,3 @@ // Type definitions for redux-first-router 2.1 | ||
// geirsagberg <https://github.com/geirsagberg> | ||
// Harry Hedger <https://github.com/hedgerh> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -58,3 +59,3 @@ // TypeScript Version: 2.4 | ||
meta?: object; | ||
query?: object; | ||
query?: Query; | ||
search?: string; | ||
@@ -67,7 +68,7 @@ navKey?: Nullable<string>; | ||
payload: Payload; | ||
query?: object; | ||
query?: Query; | ||
navKey?: Nullable<string>; | ||
meta: { | ||
notFoundPath?: string; | ||
query?: object; | ||
query?: Query; | ||
search?: string; | ||
@@ -89,3 +90,3 @@ }; | ||
payload: Payload; | ||
query?: object; | ||
query?: Query; | ||
search?: string; | ||
@@ -98,3 +99,3 @@ } | ||
payload: Payload; | ||
query?: object; | ||
query?: Query; | ||
search?: string; | ||
@@ -130,3 +131,3 @@ prev: Location; | ||
navigation?: NavigationAction; | ||
query?: object; | ||
query?: Query; | ||
search?: string; | ||
@@ -139,3 +140,3 @@ } | ||
meta?: Meta; | ||
query?: object; | ||
query?: Query; | ||
navKey?: Nullable<string>; | ||
@@ -306,5 +307,15 @@ } | ||
export type Params = object; | ||
export type Payload = object; | ||
export interface Query { | ||
[key: string]: string; | ||
} | ||
export interface Params { | ||
[key: string]: any; | ||
} | ||
export interface Payload { | ||
query?: Query; | ||
[key: string]: any; | ||
} | ||
export type DisplayConfirmLeave = (message: string, callback: (unblock: boolean) => void) => void; | ||
@@ -311,0 +322,0 @@ |
{ | ||
"name": "@types/redux-first-router", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "TypeScript definitions for redux-first-router", | ||
@@ -41,2 +41,7 @@ "license": "MIT", | ||
"githubUsername": "geirsagberg" | ||
}, | ||
{ | ||
"name": "Harry Hedger", | ||
"url": "https://github.com/hedgerh", | ||
"githubUsername": "hedgerh" | ||
} | ||
@@ -56,4 +61,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "2745291898e2876afa4671ce5acc367b53a6c784f1f096747813480849433095", | ||
"typesPublisherContentHash": "1adaf7b987d8c47132f830bdd2d7a1225d64cb3687f40b9c315575176af49473", | ||
"typeScriptVersion": "2.4" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 14 May 2019 21:00:38 GMT | ||
* Last updated: Wed, 22 May 2019 16:13:58 GMT | ||
* Dependencies: @types/redux, @types/history | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Valbrand <https://github.com/Valbrand>, viggyfresh <https://github.com/viggyfresh>, janb87 <https://github.com/janb87>, corydeppen <https://github.com/corydeppen>, jscinoz <https://github.com/jscinoz>, surgeboris <https://github.com/surgeboris>, geirsagberg <https://github.com/geirsagberg>. | ||
These definitions were written by Valbrand <https://github.com/Valbrand>, viggyfresh <https://github.com/viggyfresh>, janb87 <https://github.com/janb87>, corydeppen <https://github.com/corydeppen>, jscinoz <https://github.com/jscinoz>, surgeboris <https://github.com/surgeboris>, geirsagberg <https://github.com/geirsagberg>, Harry Hedger <https://github.com/hedgerh>. |
15667
315