diff --git a/packages/kit/src/exports/public.d.ts b/packages/kit/src/exports/public.d.ts index 60a50033add7..1a0935524bee 100644 --- a/packages/kit/src/exports/public.d.ts +++ b/packages/kit/src/exports/public.d.ts @@ -52,7 +52,7 @@ export interface Adapter { supports?: { /** * Test support for `read` from `$app/server`. - * @param details.config The merged route config + * @param details.config The merged adapter-specific route config exported from the route with `export const config` */ read?: (details: { config: any; route: { id: string } }) => boolean; diff --git a/packages/kit/types/index.d.ts b/packages/kit/types/index.d.ts index 2d75e5ab0ab7..f4365679bd68 100644 --- a/packages/kit/types/index.d.ts +++ b/packages/kit/types/index.d.ts @@ -27,7 +27,7 @@ declare module '@sveltejs/kit' { supports?: { /** * Test support for `read` from `$app/server`. - * @param details.config The merged route config + * @param details.config The merged adapter-specific route config exported from the route with `export const config` */ read?: (details: { config: any; route: { id: string } }) => boolean;