Installation
npm install --save @types/react-combine-reducers
Summary
This package contains type definitions for react-combine-reducers (https://github.com/ankita1010/react-combine-reducers#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-combine-reducers.
index.d.ts
import { Reducer, ReducerState } from "react";
declare function combineReducers<R extends Reducer<any, any>>(
reducers: {
[K in keyof ReducerState<R>]: [Reducer<ReducerState<R>[K], any>, ReducerState<R>[K]];
},
): [R, ReducerState<R>];
export = combineReducers;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/react
Credits
These definitions were written by Raphaël Léger.