mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Merge pull request #10536 from chrisgervang/patch-1
[page] Adding the missing func page.replace() to type def
This commit is contained in:
Vendored
+5
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user