Skip to content

Commit

Permalink
Update the JSDoc so IDEs don't complain.
Browse files Browse the repository at this point in the history
  • Loading branch information
timdorr authored Aug 16, 2019
1 parent 38df33b commit 8d3ed93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/createStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export default function createStore(reducer, preloadedState, enhancer) {
* implement a hot reloading mechanism for Redux.
*
* @param {Function} nextReducer The reducer for the store to use instead.
* @returns {void}
* @returns {Store} The same store instance with a new reducer in place.
*/
function replaceReducer(nextReducer) {
if (typeof nextReducer !== 'function') {
Expand Down

1 comment on commit 8d3ed93

@cellog
Copy link
Contributor

@cellog cellog commented on 8d3ed93 Aug 16, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah thanks, nice catch

Please sign in to comment.