fix aliased props

pull/3539/head
Richard Harris 6 years ago
parent cd83265fa8
commit 3d9943d8d4

@ -893,10 +893,10 @@ export default class Component {
properties: [{ properties: [{
type: 'Property', type: 'Property',
method: false, method: false,
shorthand: true, shorthand: false,
computed: false, computed: false,
kind: 'init', kind: 'init',
key: declarator.id, key: { type: 'Identifier', name: variable.export_name },
value: declarator.init value: declarator.init
? { ? {
type: 'AssignmentPattern', type: 'AssignmentPattern',

Loading…
Cancel
Save