Unverified Commit 01ecb602 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub
parent b68f7838
...@@ -37,12 +37,12 @@ export interface AppRouterInstance { ...@@ -37,12 +37,12 @@ export interface AppRouterInstance {
* Hard navigate to the provided href. Fetches new data from the server. * Hard navigate to the provided href. Fetches new data from the server.
* Pushes a new history entry. * Pushes a new history entry.
*/ */
push(href: string, options: NavigateOptions): void push(href: string, options?: NavigateOptions): void
/** /**
* Hard navigate to the provided href. Does not fetch data from the server if it was already fetched. * Hard navigate to the provided href. Does not fetch data from the server if it was already fetched.
* Replaces the current history entry. * Replaces the current history entry.
*/ */
replace(href: string, options: NavigateOptions): void replace(href: string, options?: NavigateOptions): void
/** /**
* Soft prefetch the provided href. Does not fetch data from the server if it was already fetched. * Soft prefetch the provided href. Does not fetch data from the server if it was already fetched.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment