mini-rx-store
Version:
MiniRx: The Lightweight RxJS Redux Store
4 lines (3 loc) • 356 B
TypeScript
import { createSubSink, UpdateStateCallback } from '@mini-rx/common';
import { Observable } from 'rxjs';
export declare function createConnectFn<StateType>(updateStateCallback: UpdateStateCallback<StateType>, subSink: ReturnType<typeof createSubSink>): <K extends keyof StateType, ValueType = StateType[K]>(dict: Record<K, Observable<ValueType>>) => void;