Skip to content

Commit 2e4721d

Browse files
committed
Re-use existing generic type for reducer map
1 parent 3dab85d commit 2e4721d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/sidebar/store/create-store.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ import { immutable } from '../util/immutable';
9595
* Create a Redux reducer from a store module's reducer map.
9696
*
9797
* @template State
98-
* @param {Record<string, (s: State, a: redux.Action) => Partial<State>>} reducers -
99-
* Map of reducers from a store module.
98+
* @param {ReducerMap<State>} reducers
10099
*/
101100
function createReducer(reducers) {
102101
/** @param {redux.Action} action */

0 commit comments

Comments
 (0)