@types/react-router
Advanced tools
Comparing version 3.0.18 to 3.0.19
@@ -14,2 +14,3 @@ // Type definitions for react-router 3.0 | ||
// Christian Gill <https://github.com/gillchristian> | ||
// Roman Nevolin <https://github.com/nulladdict> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -16,0 +17,0 @@ // TypeScript Version: 2.8 |
@@ -0,0 +0,0 @@ import { RouteComponent } from "react-router"; |
@@ -0,0 +0,0 @@ import { History } from "history"; |
import { default as createMemoryHistory } from "history/lib/createMemoryHistory"; | ||
export default createMemoryHistory; |
@@ -0,0 +0,0 @@ import { History } from "history"; |
@@ -0,0 +0,0 @@ import { ComponentClass, CSSProperties, HTMLProps } from "react"; |
@@ -0,0 +0,0 @@ import { ComponentClass, ClassAttributes } from "react"; |
@@ -0,0 +0,0 @@ import { ComponentClass, ClassAttributes } from "react"; |
@@ -0,0 +0,0 @@ import { ComponentClass, CSSProperties, HTMLProps } from "react"; |
@@ -0,0 +0,0 @@ import { Basename, History, LocationDescriptor } from "history"; |
@@ -0,0 +0,0 @@ import { RoutePattern } from "react-router"; |
@@ -0,0 +0,0 @@ import { Requireable, Validator } from "react"; |
@@ -0,0 +0,0 @@ import { ComponentClass, ClassAttributes } from "react"; |
@@ -0,0 +0,0 @@ import { ComponentClass, ClassAttributes } from "react"; |
@@ -55,3 +55,3 @@ import { Component, ComponentClass, ClassAttributes, ReactNode, StatelessComponent } from "react"; | ||
type LeaveHookFunction = (route: any, callback: RouteHook) => void; | ||
type CreatePartFunction<Part> = (path: Path, query?: any) => Part; | ||
type CreatePartFunction<Part> = (pathOrLoc: LocationDescriptor, query?: any) => Part; | ||
@@ -58,0 +58,0 @@ export interface InjectedRouter { |
@@ -0,0 +0,0 @@ import { ComponentClass } from "react"; |
import { RouteConfig, PlainRoute } from "react-router"; | ||
export function createRoutes(routes: RouteConfig): PlainRoute[]; |
import { CreateHistory, HistoryBasename, HistoryBasenameOptions, HistoryQueries } from "history"; | ||
export default function useRouterHistory<O, H>(createHistory: CreateHistory<O, H>): CreateHistory<O & HistoryBasenameOptions, H & HistoryBasename & HistoryQueries>; |
@@ -0,0 +0,0 @@ import { ComponentClass, StatelessComponent } from "react"; |
{ | ||
"name": "@types/react-router", | ||
"version": "3.0.18", | ||
"version": "3.0.19", | ||
"description": "TypeScript definitions for react-router", | ||
@@ -61,2 +61,7 @@ "license": "MIT", | ||
"githubUsername": "gillchristian" | ||
}, | ||
{ | ||
"name": "Roman Nevolin", | ||
"url": "https://github.com/nulladdict", | ||
"githubUsername": "nulladdict" | ||
} | ||
@@ -74,4 +79,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "180efdfad46bbd28a4da2fc41562ec6726002c2c240babcec3a44b53bc55433a", | ||
"typesPublisherContentHash": "8af45623d27a02b1c98247643aae6584f2848f4dfa60fb67bd4d8c7839488a5d", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 17 Sep 2018 19:34:38 GMT | ||
* Last updated: Wed, 03 Oct 2018 17:56:18 GMT | ||
* Dependencies: history, react | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Sergey Buturlakin <https://github.com/sergey-buturlakin>, Yuichi Murata <https://github.com/mrk21>, Václav Ostrožlík <https://github.com/vasek17>, Nathan Brown <https://github.com/ngbrown>, Alex Wendland <https://github.com/awendland>, Kostya Esmukov <https://github.com/KostyaEsmukov>, John Reilly <https://github.com/johnnyreilly>, Karol Janyst <https://github.com/LKay>, Dovydas Navickas <https://github.com/DovydasNavickas>, Ross Allen <https://github.com/ssorallen>, Christian Gill <https://github.com/gillchristian>. | ||
These definitions were written by Sergey Buturlakin <https://github.com/sergey-buturlakin>, Yuichi Murata <https://github.com/mrk21>, Václav Ostrožlík <https://github.com/vasek17>, Nathan Brown <https://github.com/ngbrown>, Alex Wendland <https://github.com/awendland>, Kostya Esmukov <https://github.com/KostyaEsmukov>, John Reilly <https://github.com/johnnyreilly>, Karol Janyst <https://github.com/LKay>, Dovydas Navickas <https://github.com/DovydasNavickas>, Ross Allen <https://github.com/ssorallen>, Christian Gill <https://github.com/gillchristian>, Roman Nevolin <https://github.com/nulladdict>. |
Sorry, the diff of this file is not supported yet
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
315
17404