From b7ff0b25bda2e193898d7d281a4a27d28910a2a6 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sat, 21 Dec 2024 13:00:18 -0500 Subject: [PATCH] add since tag (#13215) --- packages/kit/src/exports/public.d.ts | 1 + packages/kit/types/index.d.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/kit/src/exports/public.d.ts b/packages/kit/src/exports/public.d.ts index df05467459d0..e9601bf4adc4 100644 --- a/packages/kit/src/exports/public.d.ts +++ b/packages/kit/src/exports/public.d.ts @@ -624,6 +624,7 @@ export interface KitConfig { * - `'hash'` means the route is determined by `location.hash`. In this case, SSR and prerendering are disabled. This is only recommended if `pathname` is not an option, for example because you don't control the webserver where your app is deployed. * * @default "pathname" + * @since 2.14.0 */ type?: 'pathname' | 'hash'; }; diff --git a/packages/kit/types/index.d.ts b/packages/kit/types/index.d.ts index a5e77e194f06..aa1b04ac9a7f 100644 --- a/packages/kit/types/index.d.ts +++ b/packages/kit/types/index.d.ts @@ -606,6 +606,7 @@ declare module '@sveltejs/kit' { * - `'hash'` means the route is determined by `location.hash`. In this case, SSR and prerendering are disabled. This is only recommended if `pathname` is not an option, for example because you don't control the webserver where your app is deployed. * * @default "pathname" + * @since 2.14.0 */ type?: 'pathname' | 'hash'; };