Skip to content

Commit ef6bde6

Browse files
committed
fix types
1 parent f0ca244 commit ef6bde6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/svelte/types/index.d.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,12 @@ declare module 'svelte/compiler' {
680680
* @default null
681681
*/
682682
cssOutputFilename?: string;
683+
/**
684+
* If `true`, compiles components with hot reloading support.
685+
*
686+
* @default false
687+
*/
688+
hmr?: boolean;
683689

684690
// Other Svelte 4 compiler options:
685691
// enableSourcemap?: EnableSourcemap; // TODO bring back? https://github.com/sveltejs/svelte/pull/6835
@@ -2357,6 +2363,12 @@ declare module 'svelte/types/compiler/interfaces' {
23572363
* @default null
23582364
*/
23592365
cssOutputFilename?: string;
2366+
/**
2367+
* If `true`, compiles components with hot reloading support.
2368+
*
2369+
* @default false
2370+
*/
2371+
hmr?: boolean;
23602372

23612373
// Other Svelte 4 compiler options:
23622374
// enableSourcemap?: EnableSourcemap; // TODO bring back? https://github.com/sveltejs/svelte/pull/6835

0 commit comments

Comments
 (0)