We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
docs/api/actionCreatorMiddleware.mdx
1 parent c33254c commit 2586265Copy full SHA for 2586265
docs/api/actionCreatorMiddleware.mdx
@@ -54,7 +54,7 @@ import reducer from './reducer'
54
// Augment middleware to consider all functions with a static type property to be action creators
55
const isActionCreator = (
56
action: unknown,
57
-): action is Function & { type: unknown } =>
+): action is (...args: any) => any & { type: unknown } =>
58
typeof action === 'function' && 'type' in action
59
60
const actionCreatorMiddleware = createActionCreatorInvariantMiddleware({
0 commit comments