Skip to content

Commit

Permalink
Updated type docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ItalyPaleAle committed Aug 7, 2022
1 parent f7eb4b3 commit 039279d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Router.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export function link(node, opts) {
/**
* Tries to restore the scroll state from the given history state.
*
* @param {object} state - The history state to restore from.
* @param {{__svelte_spa_router_scrollX: number, __svelte_spa_router_scrollY: number}} [state] - The history state to restore from.
*/
export function restoreScroll(state) {
// If this exists, then this is a back navigation: restore the scroll position
Expand Down

0 comments on commit 039279d

Please sign in to comment.