-
-
Couldn't load subscription status.
- Fork 15.2k
Add bracket for comments #3408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add bracket for comments #3408
Conversation
|
Deploy preview for redux-docs ready! Built with commit dde37e8 |
|
Thanks! |
|
@pingfengafei I don't think it should be wrapped with brackets. That's how you mark a parameter as optional. To create a store, the reducer isn't optional. http://usejsdoc.org/tags-param.html#optional-parameters-and-default-values |
|
Oh, I'm not super familiar with JSDoc syntax. I'll revert this. |
reducershould wrapped with[]just the same aspreloadedStateandenhancer