docs: add details to discloseVersion

pull/10274/head
Ben McCann 3 years ago
parent 03c067f598
commit 8c58eee11d

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

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

Loading…
Cancel
Save