From d03ad6519e816c0af455892bf0b1d260e1f45469 Mon Sep 17 00:00:00 2001 From: Simon H <5968653+dummdidumm@users.noreply.github.com> Date: Fri, 30 Sep 2022 17:15:07 +0200 Subject: [PATCH] Update packages/kit/types/ambient.d.ts Co-authored-by: Geoff Rich <4992896+geoffrich@users.noreply.github.com> --- packages/kit/types/ambient.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/kit/types/ambient.d.ts b/packages/kit/types/ambient.d.ts index 8898899eb0e7..54e17f4e8db6 100644 --- a/packages/kit/types/ambient.d.ts +++ b/packages/kit/types/ambient.d.ts @@ -174,7 +174,7 @@ declare module '$app/navigation' { /** * Returns a Promise that resolves when SvelteKit navigates (or fails to navigate, in which case the promise rejects) to the specified `url`. * - * @param url Where to navigate to. Note that if you've set [`config.kit.paths.base`](https://kit.svelte.dev/docs/configuration#paths) and the URL is root-relative, you need to prepend the base path, if you want to navigate within the app. + * @param url Where to navigate to. Note that if you've set [`config.kit.paths.base`](https://kit.svelte.dev/docs/configuration#paths) and the URL is root-relative, you need to prepend the base path if you want to navigate within the app. * @param opts.replaceState If `true`, will replace the current `history` entry rather than creating a new one with `pushState` * @param opts.noscroll If `true`, the browser will maintain its scroll position rather than scrolling to the top of the page after navigation * @param opts.keepfocus If `true`, the currently focused element will retain focus after navigation. Otherwise, focus will be reset to the body