refract-redux-xstream
Version:
Refract bindings for Redux with xstream: harness the power of reactive programming to supercharge your components!
12 lines (11 loc) • 380 B
TypeScript
export interface EnhancerOptions {
eventsPrefix: string
methodName: string
}
export declare type ActionListener = (action: object) => void
export declare type UnsubscribeFn = () => void
export declare type AddActionListener = (
actionType: string,
listener: ActionListener
) => UnsubscribeFn
export declare type Selector<Type> = (state: object) => Type