Skip to content

Commit 37913d7

Browse files
committed
regenerate
1 parent 64dd2b1 commit 37913d7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/svelte/types/index.d.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2108,8 +2108,12 @@ declare module 'svelte/reactivity' {
21082108
}
21092109

21102110
declare module 'svelte/server' {
2111-
export function render<TProps extends Record<string, any>>(component: import("svelte").Component<TProps, any, string> | import("svelte").ComponentType<import("svelte").SvelteComponent<TProps, any, any>>, options: {
2112-
props: Omit<TProps, "$$slots" | "$$events">;
2111+
/**
2112+
* Only available on the server and when compiling with the `server` option.
2113+
* Takes a component and returns an object with `body` and `head` properties on it, which you can use to populate the HTML when server-rendering your app.
2114+
* */
2115+
export function render<Props extends Record<string, any>>(component: import("svelte").Component<Props, any, string> | import("svelte").ComponentType<import("svelte").SvelteComponent<Props, any, any>>, options: {
2116+
props: Omit<Props, "$$slots" | "$$events">;
21132117
context?: Map<any, any> | undefined;
21142118
}): RenderOutput;
21152119
interface RenderOutput {

0 commit comments

Comments
 (0)