@types/next
Advanced tools
Comparing version 2.4.3 to 2.4.4
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
import * as React from 'react'; | ||
export default class extends React.Component<{statusCode: number}> {} |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ // Type definitions for next 2.4 |
@@ -0,0 +0,0 @@ import * as url from 'url'; |
{ | ||
"name": "@types/next", | ||
"version": "2.4.3", | ||
"version": "2.4.4", | ||
"description": "TypeScript definitions for next", | ||
@@ -23,4 +23,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "c1cab95236d9e4917292bc09de075622d1b267ccf812bd48b53e134dc0e847db", | ||
"typesPublisherContentHash": "4ea960ab9aafd90ea908f081a2ffbc08124122cb1fdc71440d5382d0800c9210", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 26 Sep 2017 18:18:49 GMT | ||
* Last updated: Thu, 19 Oct 2017 15:15:44 GMT | ||
* Dependencies: http, url, node, react | ||
@@ -14,0 +14,0 @@ * Global values: none |
import * as React from 'react'; | ||
import * as url from 'url'; | ||
type UrlLike = url.UrlObject | url.Url; | ||
export interface EventChangeOptions { | ||
@@ -23,4 +26,4 @@ shallow?: boolean; | ||
back(): void; | ||
push(url: string, as?: string, options?: EventChangeOptions): Promise<boolean>; | ||
replace(url: string, as?: string, options?: EventChangeOptions): Promise<boolean>; | ||
push(url: string|UrlLike, as?: string|UrlLike, options?: EventChangeOptions): Promise<boolean>; | ||
replace(url: string|UrlLike, as?: string|UrlLike, options?: EventChangeOptions): Promise<boolean>; | ||
prefetch(url: string): Promise<React.ComponentType<any>>; | ||
@@ -27,0 +30,0 @@ |
Sorry, the diff of this file is not supported yet
8427
136