pull/7738/head
Richard Harris 6 years ago
parent 66eb28a48d
commit 037b534cc8

@ -95,7 +95,14 @@ export function create_ssr_component(fn) {
render: (props = {}, options = {}) => {
on_destroy = [];
const result: { head: string, css: Set<{ map: null, code: string }> } = { head: '', css: new Set() };
const result: {
head: string;
css: Set<{
map: null;
code: string;
}>;
} = { head: '', css: new Set() };
const html = $$render(result, props, {}, options);
run_all(on_destroy);

Loading…
Cancel
Save