UNPKG

red-redux-class

Version:

Use objects and composition for creating complex reducers which can be easily maintained.

5 lines (4 loc) 408 B
import { PureObject } from './ReduxClass.types'; import { ReduxClass } from './ReduxClass.class'; export declare function bindPrototype(prototype: PureObject, key: string, _target: object, needsNew?: boolean): (this: ReduxClass) => any; export declare function bindMethods(target: PureObject, source: () => void, keys: string[], needsNew?: boolean, method?: typeof bindPrototype, exclude?: any[]): void;