Update app-router options type (#40862)
x-ref: [slack thread](https://vercel.slack.com/archives/C043ANYDB24/p1663973909118009?thread_ts=1663973783.142799&cid=C043ANYDB24)
This commit is contained in:
parent
b68f78384e
commit
01ecb60264
1 changed files with 2 additions and 2 deletions
|
@ -37,12 +37,12 @@ export interface AppRouterInstance {
|
|||
* Hard navigate to the provided href. Fetches new data from the server.
|
||||
* 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.
|
||||
* 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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue