From 9af20173150287275a37717ed650ac3dff0fc4fa Mon Sep 17 00:00:00 2001 From: Richard Harris Date: Sun, 17 Feb 2019 20:40:34 -0500 Subject: [PATCH] pick error code --- src/compile/Component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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` }); }