docs: add details to discloseVersion (#10274)

pull/10290/head
Ben McCann 11 months ago committed by GitHub
parent 005ff894ff
commit 821a213636
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -142,7 +142,7 @@ export interface CompileOptions extends ModuleCompileOptions {
*/ */
runes?: boolean | undefined; 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 * @default true
*/ */

@ -639,7 +639,7 @@ declare module 'svelte/compiler' {
*/ */
runes?: boolean | undefined; 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 * @default true
*/ */
@ -2329,7 +2329,7 @@ declare module 'svelte/types/compiler/interfaces' {
*/ */
runes?: boolean | undefined; 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 * @default true
*/ */

Loading…
Cancel
Save