diff --git a/lib/index.js b/lib/index.js index ade8a33..5e52663 100644 --- a/lib/index.js +++ b/lib/index.js @@ -28,7 +28,7 @@ function actionCreatorFactory(prefix, defaultIsError) { action.error = true; } return action; - }, { type: fullType }); + }, { type: fullType, toString: function () { return fullType; } }); } function asyncActionCreators(type, commonMeta) { return {