for (const prop of handlerProps) {
      if (!omitProps.includes(prop)) {
        action[prop] = handler[prop]
      }
    }