diff --git a/packages/svelte/src/compiler/types/index.d.ts b/packages/svelte/src/compiler/types/index.d.ts index b62b47bf0d..83197354e2 100644 --- a/packages/svelte/src/compiler/types/index.d.ts +++ b/packages/svelte/src/compiler/types/index.d.ts @@ -142,7 +142,7 @@ export interface CompileOptions extends ModuleCompileOptions { */ runes?: boolean | undefined; /** - * If `true`, exposes the Svelte major version on the global `window` object in the browser. + * If `true`, exposes the Svelte major version in the browser by adding it to a `Set` stored in the global `window.__svelte.v`. * * @default true */ diff --git a/packages/svelte/types/index.d.ts b/packages/svelte/types/index.d.ts index 6f3ea43a71..a2daf52c4b 100644 --- a/packages/svelte/types/index.d.ts +++ b/packages/svelte/types/index.d.ts @@ -639,7 +639,7 @@ declare module 'svelte/compiler' { */ runes?: boolean | undefined; /** - * If `true`, exposes the Svelte major version on the global `window` object in the browser. + * If `true`, exposes the Svelte major version in the browser by adding it to a `Set` stored in the global `window.__svelte.v`. * * @default true */ @@ -2329,7 +2329,7 @@ declare module 'svelte/types/compiler/interfaces' { */ runes?: boolean | undefined; /** - * If `true`, exposes the Svelte major version on the global `window` object in the browser. + * If `true`, exposes the Svelte major version in the browser by adding it to a `Set` stored in the global `window.__svelte.v`. * * @default true */