diff --git a/src/compile/Component.ts b/src/compile/Component.ts index 96a0b6bedb..e2412d74f3 100644 --- a/src/compile/Component.ts +++ b/src/compile/Component.ts @@ -788,7 +788,7 @@ export default class Component { if (declarator.id.type !== 'Identifier') { component.error(declarator, { - code: 'todo', + code: 'destructured-prop', message: `props binding in destructured declaration is not yet supported` }); }