diff --git a/src/runtime/internal/Component.ts b/src/runtime/internal/Component.ts index ac2dc3651d..1b7372b9c3 100644 --- a/src/runtime/internal/Component.ts +++ b/src/runtime/internal/Component.ts @@ -104,9 +104,6 @@ export function init(component, options, instance, create_fragment, not_equal, p const prop_values = options.props || {}; const $$: T$$ = component.$$ = { - fragment: null, - ctx: null, - // state props, update: noop, @@ -124,7 +121,7 @@ export function init(component, options, instance, create_fragment, not_equal, p callbacks: {}, dirty, skip_bound: false - }; + } as T$$; let ready = false;