File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ export function wrap_snippet(component, fn) {
67
67
* @param {{
68
68
* mount: (...params: any[]) => Element,
69
69
* hydrate?: (element: Element, ...params: any[]) => void,
70
- * render: (...params: any[]) => { head: string, body: string }
70
+ * render: (...params: any[]) => { head? : string, body? : string }
71
71
* }} options
72
72
*/
73
73
export function createRawSnippet ( { mount, hydrate } ) {
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ export function head(payload, fn) {
160
160
* @param {{
161
161
* mount: (...params: any[]) => Element,
162
162
* hydrate?: (element: Element, ...params: any[]) => void,
163
- * render: (...params: any[]) => { head: string, body: string }
163
+ * render: (...params: any[]) => { head? : string, body? : string }
164
164
* }} options
165
165
*/
166
166
export function createRawSnippet ( { render } ) {
Original file line number Diff line number Diff line change @@ -372,8 +372,8 @@ declare module 'svelte' {
372
372
mount : ( ...params : any [ ] ) => Element ;
373
373
hydrate ?: ( element : Element , ...params : any [ ] ) => void ;
374
374
render : ( ...params : any [ ] ) => {
375
- head : string ;
376
- body : string ;
375
+ head ? : string ;
376
+ body ? : string ;
377
377
} ;
378
378
} ) : ( anchor : TemplateNode , ...params : any [ ] ) => void ;
379
379
/**
You can’t perform that action at this time.
0 commit comments