diff --git a/src/features/action.tsx b/src/features/action.tsx index a58a762..7d392bb 100644 --- a/src/features/action.tsx +++ b/src/features/action.tsx @@ -244,8 +244,9 @@ export function createAction( decorator.postConstruct?.(action); } - const decoratedProps = decorators.reduce((current, next) => - Object.assign(current, next.getGatheredProps?.(action)) + const decoratedProps = decorators.reduce( + (current, next) => Object.assign(current, next.getGatheredProps?.(action)), + {} ); action[GatherProps] = function (this: GenericAction) { const {