Skip to content

Commit 7703140

Browse files
committed
-> v3.6.5
1 parent 8f95955 commit 7703140

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

src/compiler/compile/render_dom/wrappers/Element/Binding.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,11 @@ function get_event_handler(
239239
name: string,
240240
snippet: string
241241
): {
242-
uses_context: boolean;
243-
mutation: string;
244-
contextual_dependencies: Set<string>;
245-
snippet?: string;
246-
} {
242+
uses_context: boolean;
243+
mutation: string;
244+
contextual_dependencies: Set<string>;
245+
snippet?: string;
246+
} {
247247
const value = get_value_from_dom(renderer, binding.parent, binding);
248248
const store = binding.object[0] === '$' ? binding.object.slice(1) : null;
249249

src/runtime/internal/ssr.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,14 @@ export function create_ssr_component(fn) {
9595
render: (props = {}, options = {}) => {
9696
on_destroy = [];
9797

98-
const result: { head: string, css: Set<{ map: null, code: string }> } = { head: '', css: new Set() };
98+
const result: {
99+
head: string;
100+
css: Set<{
101+
map: null;
102+
code: string;
103+
}>;
104+
} = { head: '', css: new Set() };
105+
99106
const html = $$render(result, props, {}, options);
100107

101108
run_all(on_destroy);

0 commit comments

Comments
 (0)