diff --git a/packages/svelte/src/compiler/interfaces.d.ts b/packages/svelte/src/compiler/interfaces.d.ts index 64be9698f5..4d72cd309a 100644 --- a/packages/svelte/src/compiler/interfaces.d.ts +++ b/packages/svelte/src/compiler/interfaces.d.ts @@ -345,7 +345,7 @@ export interface CompileOptions { */ preserveWhitespace?: boolean; /** - * 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 accdab2eca..e32a98256c 100644 --- a/packages/svelte/types/index.d.ts +++ b/packages/svelte/types/index.d.ts @@ -602,7 +602,7 @@ declare module 'svelte/compiler' { */ preserveWhitespace?: boolean; /** - * 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 */ @@ -1211,7 +1211,7 @@ declare module 'svelte/types/compiler/interfaces' { */ preserveWhitespace?: boolean; /** - * 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 */