still include $$props arg when necessary

pull/4454/head
Conduitry 6 years ago
parent de49a996ca
commit 6931af2f45

@ -259,6 +259,9 @@ export default function dom(
inject_state; inject_state;
if (has_invalidate) { if (has_invalidate) {
args.push(x`$$props`, x`$$invalidate`); args.push(x`$$props`, x`$$invalidate`);
} else if (component.compile_options.dev) {
// $$props arg is still needed for unknown prop check
args.push(x`$$props`);
} }
const has_create_fragment = block.has_content(); const has_create_fragment = block.has_content();

Loading…
Cancel
Save