diff --git a/packages/svelte/types/index.d.ts b/packages/svelte/types/index.d.ts index 7baeab4189..5c7334daef 100644 --- a/packages/svelte/types/index.d.ts +++ b/packages/svelte/types/index.d.ts @@ -680,6 +680,12 @@ declare module 'svelte/compiler' { * @default null */ cssOutputFilename?: string; + /** + * If `true`, compiles components with hot reloading support. + * + * @default false + */ + hmr?: boolean; // Other Svelte 4 compiler options: // enableSourcemap?: EnableSourcemap; // TODO bring back? https://github.com/sveltejs/svelte/pull/6835 @@ -2357,6 +2363,12 @@ declare module 'svelte/types/compiler/interfaces' { * @default null */ cssOutputFilename?: string; + /** + * If `true`, compiles components with hot reloading support. + * + * @default false + */ + hmr?: boolean; // Other Svelte 4 compiler options: // enableSourcemap?: EnableSourcemap; // TODO bring back? https://github.com/sveltejs/svelte/pull/6835