From a7de4305ceea96ff5aed61924778870a2f50fdd6 Mon Sep 17 00:00:00 2001 From: Nic Polumeyv <162764842+Nic-Polumeyv@users.noreply.github.com> Date: Mon, 20 Jul 2026 13:36:25 -0400 Subject: [PATCH 1/3] chore: inline the EnvVarConfig type import tsc doesn't count a `@template` constraint as usage of a JSDoc `@import`, so the import was reported as unused and `pnpm run check` failed. --- packages/kit/src/exports/env/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/kit/src/exports/env/index.js b/packages/kit/src/exports/env/index.js index 1f3e591e4b20..04e3ea2e0792 100644 --- a/packages/kit/src/exports/env/index.js +++ b/packages/kit/src/exports/env/index.js @@ -1,9 +1,7 @@ -/** @import { EnvVarConfig } from '@sveltejs/kit' */ - /** * Utility for defining [environment variables](https://svelte.dev/docs/kit/environment-variables), * which are made available via `$app/env/public` and `$app/env/private`. - * @template {Record>} T + * @template {Record>} T * @param {T} variables * @returns {T} */ From b87a16924c935068784632a4c022ebe71dfae990 Mon Sep 17 00:00:00 2001 From: Nic Polumeyv <162764842+Nic-Polumeyv@users.noreply.github.com> Date: Mon, 20 Jul 2026 13:37:22 -0400 Subject: [PATCH 2/3] chore: regenerate types The committed declarations had trailing whitespace stripped and the final newline removed, so the regenerate-and-compare CI step failed on every run. --- packages/kit/types/index.d.ts | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/packages/kit/types/index.d.ts b/packages/kit/types/index.d.ts index 23f2d730e9b6..34252a7e66d0 100644 --- a/packages/kit/types/index.d.ts +++ b/packages/kit/types/index.d.ts @@ -3026,7 +3026,7 @@ declare module '@sveltejs/kit' { }>; export const VERSION: string; class HttpError_1 { - + constructor(status: number, body: { message: string; } extends App.Error ? (App.Error | string | undefined) : App.Error); @@ -3035,7 +3035,7 @@ declare module '@sveltejs/kit' { toString(): string; } class Redirect_1 { - + constructor(status: 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308, location: string); status: 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308; location: string; @@ -3046,12 +3046,11 @@ declare module '@sveltejs/kit' { } declare module '@sveltejs/kit/env' { - import type { EnvVarConfig } from '@sveltejs/kit'; /** * Utility for defining [environment variables](https://svelte.dev/docs/kit/environment-variables), * which are made available via `$app/env/public` and `$app/env/private`. * */ - export function defineEnvVars>>(variables: T): T; + export function defineEnvVars>>(variables: T): T; export {}; } @@ -3668,9 +3667,9 @@ declare module '$app/server' { * * */ function live(fn: (arg: void) => RemoteLiveQueryUserFunctionReturnType): RemoteLiveQueryFunction; - + function live(validate: "unchecked", fn: (arg: Input) => RemoteLiveQueryUserFunctionReturnType): RemoteLiveQueryFunction; - + function live(schema: Schema, fn: (arg: StandardSchemaV1.InferOutput) => RemoteLiveQueryUserFunctionReturnType): RemoteLiveQueryFunction, Output, StandardSchemaV1.InferOutput>; } /** @@ -3837,11 +3836,11 @@ declare module '$app/state' { declare module '$app/stores' { export function getStores(): { - + page: typeof page; - + navigating: typeof navigating; - + updated: typeof updated; }; /** @@ -4025,4 +4024,4 @@ declare module '$app/types' { export type Asset = ReturnType; } -//# sourceMappingURL=index.d.ts.map +//# sourceMappingURL=index.d.ts.map \ No newline at end of file From d0c387b2a1347123c75962bfac285b1fa8872789 Mon Sep 17 00:00:00 2001 From: Nic Polumeyv <162764842+Nic-Polumeyv@users.noreply.github.com> Date: Tue, 21 Jul 2026 12:13:29 -0400 Subject: [PATCH 3/3] retrigger CI