Skip to content

Commit 260192b

Browse files
committed
chore: deprecate html in favour of body for render()
1 parent c69978f commit 260192b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/svelte/types/index.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2113,9 +2113,11 @@ declare module 'svelte/server' {
21132113
context?: Map<any, any>;
21142114
}): RenderOutput;
21152115
interface RenderOutput {
2116+
/** HTML that goes into the `<head>` */
21162117
head: string;
2117-
/** @deprecated */
2118+
/** @deprecated use `body` instead */
21182119
html: string;
2120+
/** HTML that goes somewhere into the `<body>` */
21192121
body: string;
21202122
}
21212123
}

0 commit comments

Comments
 (0)