Closed loposkin closed 3 years ago
The middleware has the return type void in the TypedMiddleware class
void
https://github.com/fluttercommunity/redux.dart/blob/3c515fb7bd2371b67492132d9392bf9341104ca7/lib/src/utils.dart#L214-L234
I've expected that after merging #52 middleware should have the return type dynamic, but this line was not changed. Is it a bug or is there a reason for this behavior? Possible pull request: #66
middleware
dynamic
It was a bug! I've merged that in. Thanks for the contribution :)
The middleware has the return type
void
in the TypedMiddleware classhttps://github.com/fluttercommunity/redux.dart/blob/3c515fb7bd2371b67492132d9392bf9341104ca7/lib/src/utils.dart#L214-L234
I've expected that after merging #52
middleware
should have the return typedynamic
, but this line was not changed. Is it a bug or is there a reason for this behavior? Possible pull request: #66