Merge pull request #10536 from chrisgervang/patch-1

[page] Adding the missing func page.replace() to type def
This commit is contained in:
Nathan Shively-Sanders
2016-08-10 14:45:32 -07:00
committed by GitHub
+5
View File
@@ -86,6 +86,11 @@ declare namespace PageJS {
*
*/
redirect(page: string): void;
/**
* Replace `path` with optional `state` object.
*
*/
replace(path: string, state?: any, init?: boolean, dispatch?: boolean): Context;
/**
* Navigate to the given path.
*