Skip to content

Commit

Permalink
docs: fix description (#14109)
Browse files Browse the repository at this point in the history
Since Svelte 5, comments are also preserved on the client
  • Loading branch information
dummdidumm authored Nov 3, 2024
1 parent 4038b0c commit 00f5b14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/svelte/src/compiler/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export interface CompileOptions extends ModuleCompileOptions {
*/
cssHash?: CssHashGetter;
/**
* If `true`, your HTML comments will be preserved during server-side rendering. By default, they are stripped out.
* If `true`, your HTML comments will be preserved in the output. By default, they are stripped out.
*
* @default false
*/
Expand Down
4 changes: 2 additions & 2 deletions packages/svelte/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ declare module 'svelte/compiler' {
*/
cssHash?: CssHashGetter;
/**
* If `true`, your HTML comments will be preserved during server-side rendering. By default, they are stripped out.
* If `true`, your HTML comments will be preserved in the output. By default, they are stripped out.
*
* @default false
*/
Expand Down Expand Up @@ -2183,7 +2183,7 @@ declare module 'svelte/types/compiler/interfaces' {
*/
cssHash?: CssHashGetter;
/**
* If `true`, your HTML comments will be preserved during server-side rendering. By default, they are stripped out.
* If `true`, your HTML comments will be preserved in the output. By default, they are stripped out.
*
* @default false
*/
Expand Down

0 comments on commit 00f5b14

Please sign in to comment.