"Now, we should define an increment action." <TYPING INTENSIFIES>. 40 lines of code later, we can increment a variable.
The action is defined like this:
const IncrementCounter = createAction(domain, 'IncrementCounter',t.maybe(incrementParameter))
(A oneliner)