Closed
Description
createListenerMiddleware calls its listener predicates for anything that's dispatched, regardless of whether it's an object. on the other hand, its typing assumes that it'll only ever be called with action objects.
it would probably make sense to only check listeners if it's actually an action (plain object with .type)