I\'m writing a reducer that will be used along with React.useReducer hook. Flow is used, but the reducer is suffering from a flow error because Object.assign(
React.useReducer
Object.assign(