JSPM

  • Created
  • Published
  • Downloads 22987
  • Score
    100M100P100Q144135F
  • License MIT

TypeScript definitions for redux-immutable

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/redux-immutable) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Installation

    npm install --save @types/redux-immutable

    Summary

    This package contains type definitions for redux-immutable (https://github.com/gajus/redux-immutable).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/redux-immutable.

    index.d.ts

    import { Collection, Record } from "immutable";
    import { Action, Reducer, ReducersMapObject } from "redux";
    
    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, any>,
        getDefaultState?: () => Collection.Indexed<S>,
    ): Reducer<S>;
    export declare function combineReducers<S, T extends object>(
        reducers: ReducersMapObject<S, any>,
        getDefaultState?: Record.Factory<T>,
    ): Reducer<S>;
    

    Additional Details

    • Last updated: Tue, 07 Nov 2023 20:08:00 GMT
    • Dependencies: immutable, redux

    Credits

    These definitions were written by Sebastian Sebald, Gavin Gregory, and Kanitkorn Sujautra.