From 3d9943d8d402872ed975564ba1af796104c0c971 Mon Sep 17 00:00:00 2001 From: Richard Harris Date: Sat, 21 Sep 2019 09:43:37 -0400 Subject: [PATCH] fix aliased props --- src/compiler/compile/Component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/compile/Component.ts b/src/compiler/compile/Component.ts index c4d18ec4ce..dd6f100ea6 100644 --- a/src/compiler/compile/Component.ts +++ b/src/compiler/compile/Component.ts @@ -893,10 +893,10 @@ export default class Component { properties: [{ type: 'Property', method: false, - shorthand: true, + shorthand: false, computed: false, kind: 'init', - key: declarator.id, + key: { type: 'Identifier', name: variable.export_name }, value: declarator.init ? { type: 'AssignmentPattern',