Subsequent to the plain-object feedback, I changed the implementation to reset an action’s prototype to that of {} — rather than null. It passes the test that’s discussed in the issue:

action && action.constructor === Object

Thanks for the heads up. Much appreciated.

RxJS core team member; front-end developer; mentor; speaker; open-source contributor

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store