Skip to content

Commit 00f5b14

Browse files
authored
docs: fix description (#14109)
Since Svelte 5, comments are also preserved on the client
1 parent 4038b0c commit 00f5b14

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/svelte/src/compiler/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export interface CompileOptions extends ModuleCompileOptions {
110110
*/
111111
cssHash?: CssHashGetter;
112112
/**
113-
* If `true`, your HTML comments will be preserved during server-side rendering. By default, they are stripped out.
113+
* If `true`, your HTML comments will be preserved in the output. By default, they are stripped out.
114114
*
115115
* @default false
116116
*/

packages/svelte/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ declare module 'svelte/compiler' {
812812
*/
813813
cssHash?: CssHashGetter;
814814
/**
815-
* If `true`, your HTML comments will be preserved during server-side rendering. By default, they are stripped out.
815+
* If `true`, your HTML comments will be preserved in the output. By default, they are stripped out.
816816
*
817817
* @default false
818818
*/
@@ -2183,7 +2183,7 @@ declare module 'svelte/types/compiler/interfaces' {
21832183
*/
21842184
cssHash?: CssHashGetter;
21852185
/**
2186-
* If `true`, your HTML comments will be preserved during server-side rendering. By default, they are stripped out.
2186+
* If `true`, your HTML comments will be preserved in the output. By default, they are stripped out.
21872187
*
21882188
* @default false
21892189
*/

0 commit comments

Comments
 (0)