UNPKG

@100mslive/hms-video-store

Version:

@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow

9 lines (7 loc) 280 B
import { PartialState, State } from 'zustand/vanilla'; export type NamedSetState<T extends State> = { <K1 extends keyof T, K2 extends keyof T = K1, K3 extends keyof T = K2, K4 extends keyof T = K3>( partial: PartialState<T, K1, K2, K3, K4>, name: string, ): void; };