diff --git a/packages/kit/src/exports/public.d.ts b/packages/kit/src/exports/public.d.ts index 732df205d0ae..51923a5076ac 100644 --- a/packages/kit/src/exports/public.d.ts +++ b/packages/kit/src/exports/public.d.ts @@ -1027,7 +1027,7 @@ export interface NavigationTarget { /** * - `enter`: The app has hydrated/started * - `form`: The user submitted a `
` with a GET method - * - `leave`: The user is leaving the app by closing the tab or using the back/forward buttons to go to a different document + * - `leave`: The app is being left either because the tab is being closed or a navigation to a different document is occurring * - `link`: Navigation was triggered by a link click * - `goto`: Navigation was triggered by a `goto(...)` call or a redirect * - `popstate`: Navigation was triggered by back/forward navigation @@ -1045,7 +1045,7 @@ export interface Navigation { to: NavigationTarget | null; /** * The type of navigation: - * - `form`: The user submitted a `` + * - `form`: The user submitted a `` with a GET method * - `leave`: The app is being left either because the tab is being closed or a navigation to a different document is occurring * - `link`: Navigation was triggered by a link click * - `goto`: Navigation was triggered by a `goto(...)` call or a redirect @@ -1083,7 +1083,7 @@ export interface BeforeNavigate extends Navigation { export interface OnNavigate extends Navigation { /** * The type of navigation: - * - `form`: The user submitted a `` + * - `form`: The user submitted a `` with a GET method * - `link`: Navigation was triggered by a link click * - `goto`: Navigation was triggered by a `goto(...)` call or a redirect * - `popstate`: Navigation was triggered by back/forward navigation @@ -1102,7 +1102,7 @@ export interface AfterNavigate extends Omit { /** * The type of navigation: * - `enter`: The app has hydrated/started - * - `form`: The user submitted a `` + * - `form`: The user submitted a `` with a GET method * - `link`: Navigation was triggered by a link click * - `goto`: Navigation was triggered by a `goto(...)` call or a redirect * - `popstate`: Navigation was triggered by back/forward navigation diff --git a/packages/kit/types/index.d.ts b/packages/kit/types/index.d.ts index 3ac640b17196..39c48391d146 100644 --- a/packages/kit/types/index.d.ts +++ b/packages/kit/types/index.d.ts @@ -1009,7 +1009,7 @@ declare module '@sveltejs/kit' { /** * - `enter`: The app has hydrated/started * - `form`: The user submitted a `` with a GET method - * - `leave`: The user is leaving the app by closing the tab or using the back/forward buttons to go to a different document + * - `leave`: The app is being left either because the tab is being closed or a navigation to a different document is occurring * - `link`: Navigation was triggered by a link click * - `goto`: Navigation was triggered by a `goto(...)` call or a redirect * - `popstate`: Navigation was triggered by back/forward navigation @@ -1027,7 +1027,7 @@ declare module '@sveltejs/kit' { to: NavigationTarget | null; /** * The type of navigation: - * - `form`: The user submitted a `` + * - `form`: The user submitted a `` with a GET method * - `leave`: The app is being left either because the tab is being closed or a navigation to a different document is occurring * - `link`: Navigation was triggered by a link click * - `goto`: Navigation was triggered by a `goto(...)` call or a redirect @@ -1065,7 +1065,7 @@ declare module '@sveltejs/kit' { export interface OnNavigate extends Navigation { /** * The type of navigation: - * - `form`: The user submitted a `` + * - `form`: The user submitted a `` with a GET method * - `link`: Navigation was triggered by a link click * - `goto`: Navigation was triggered by a `goto(...)` call or a redirect * - `popstate`: Navigation was triggered by back/forward navigation @@ -1084,7 +1084,7 @@ declare module '@sveltejs/kit' { /** * The type of navigation: * - `enter`: The app has hydrated/started - * - `form`: The user submitted a `` + * - `form`: The user submitted a `` with a GET method * - `link`: Navigation was triggered by a link click * - `goto`: Navigation was triggered by a `goto(...)` call or a redirect * - `popstate`: Navigation was triggered by back/forward navigation