Commit 6ec684f9 authored by Robert Knight's avatar Robert Knight

Re-use existing generic type for reducer map

parent 54c27909
......@@ -85,8 +85,7 @@ import { immutable } from '../util/immutable';
* Create a Redux reducer from a store module's reducer map.
*
* @template State
* @param {Record<string, (s: State, a: redux.Action) => Partial<State>>} reducers -
* Map of reducers from a store module.
* @param {ReducerMap<State>} reducers
*/
function createReducer(reducers) {
/** @param {redux.Action} action */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment