update discloseVersion docs (#10300)

* update discloseVersion docs

* regenerate types

---------

Co-authored-by: Rich Harris <rich.harris@vercel.com>
pull/10336/head
Rich Harris 11 months ago committed by GitHub
parent af5204a765
commit 4d8ce93d2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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
*/

@ -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
*/

Loading…
Cancel
Save