From f9cd7f784ad9b79e5f634c0d8e25acc5038888b4 Mon Sep 17 00:00:00 2001 From: Tan Li Hau Date: Thu, 1 Oct 2020 08:57:50 +0800 Subject: [PATCH] Update src/runtime/slot/index.ts Co-authored-by: Luke Edwards --- src/runtime/slot/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/slot/index.ts b/src/runtime/slot/index.ts index deef2f1bb5..b2036c5cb6 100644 --- a/src/runtime/slot/index.ts +++ b/src/runtime/slot/index.ts @@ -1,7 +1,7 @@ import { noop, insert, detach } from 'svelte/internal'; function create_root_slot_fn(elements) { - return function create_root_slot() { + return function () { return { c: noop,