Just like (almost) everyone else, I wrote my own wrapper for writing Redux reducers in Typescript in order to…