|
|
|
|
@ -399,7 +399,7 @@ export default function dom(
|
|
|
|
|
unknown_props_check = b`
|
|
|
|
|
const writable_props = [${writable_props.map(prop => x`'${prop.export_name}'`)}];
|
|
|
|
|
@_Object.keys($$props).forEach(key => {
|
|
|
|
|
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$') @_console.warn(\`<${component.tag}> was created with unknown prop '\${key}'\`);
|
|
|
|
|
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') @_console.warn(\`<${component.tag}> was created with unknown prop '\${key}'\`);
|
|
|
|
|
});
|
|
|
|
|
`;
|
|
|
|
|
}
|
|
|
|
|
|