Incorrect transpiling of export statement
starsolaris opened this issue · 4 comments
starsolaris commented
fuse-box: 4.0.0-next.440
export const showEventInfo = createAction(
'SHOW_EVENT_INFO',
action => (showEventInfo: boolean) => action(showEventInfo)
);
will produce:
exports.showEventInfo = createAction('SHOW_EVENT_INFO', action => showEventInfo => action(exports.showEventInfo));
instead of:
exports.showEventInfo = createAction('SHOW_EVENT_INFO', action => showEventInfo => action(showEventInfo));
starsolaris commented
maybe this is duplicate of #1942
nchanged commented
hm... I will find some time during the weekend for these bugs.
nchanged commented
@starsolaris please verify the fix (both issues) in 4.0.0-next.441
starsolaris commented
@nchanged, works as expected. 👍