UNPKG

342 BTypeScriptView Raw
1import type { Context } from 'react';
2import type { Store } from 'redux';
3import type { TExtend } from 'tsfn';
4export declare const ReduxStateFactory: <S>(context: Context<Store<S, import("redux").AnyAction>>) => <P extends {}, SP extends {}>(mapStateToProps: (state: S) => SP, stateKeysToWatch: (keyof S)[]) => (props: P) => TExtend<P, SP>;