Files
Kanitkorn Sujautra 29d283ca5c [redux-immutable] Upgrade type definition to support Redux v4 + Immutable v4 (#29334)
* [redux-immutable] Move the current version to v3 subfolder

* [redux-immutable] Copied v3 over to root and update it to v4
2018-10-08 10:21:41 -07:00

16 lines
1010 B
TypeScript

// Type definitions for redux-immutable v4.0.0
// Project: https://github.com/gajus/redux-immutable
// Definitions by: Pedro Pereira <https://github.com/oizie>
// Sebastian Sebald <https://github.com/sebald>
// Gavin Gregory <https://github.com/gavingregory>
// Kanitkorn Sujautra <https://github.com/lukyth>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import { ReducersMapObject, Reducer, Action } from 'redux';
import { Collection } from 'immutable';
export declare function combineReducers<S, A extends Action, T>(reducers: ReducersMapObject<S, A>, getDefaultState?: () => Collection.Keyed<T, S>): Reducer<S, A>;
export declare function combineReducers<S, A extends Action>(reducers: ReducersMapObject<S, A>, getDefaultState?: () => Collection.Indexed<S>): Reducer<S, A>;
export declare function combineReducers<S>(reducers: ReducersMapObject<S>, getDefaultState?: () => Collection.Indexed<S>): Reducer<S>;