npm.io
0.4.5 • Published 2 years ago

@types/redux-seamless-immutable

Licence
MIT
Version
0.4.5
Deps
2
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/redux-seamless-immutable

Summary

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

Details

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

index.d.ts

import { Action, Reducer } from "redux";
import { Immutable } from "seamless-immutable";

export interface SeamlessReducers {
    [reducerName: string]: Reducer<any, any>;
}

export function combineReducers(reducers: SeamlessReducers): Reducer;
export function routerReducer<T extends Reducer>(state: T, action: Action): T;
export function stateTransformer<T>(state: Immutable<T>): T;

Additional Details

Credits

These definitions were written by Leandro Soares.