diff --git a/src/compiler/compile/Component.ts b/src/compiler/compile/Component.ts index 2d696ad306c7..476574631c01 100644 --- a/src/compiler/compile/Component.ts +++ b/src/compiler/compile/Component.ts @@ -43,6 +43,7 @@ interface ComponentOptions { childKeys.EachBlock = childKeys.IfBlock = ['children', 'else']; childKeys.Attribute = ['value']; childKeys.ExportNamedDeclaration = ['declaration', 'specifiers']; +childKeys.Block = ['children']; export default class Component { stats: Stats;