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

13 lines (12 loc) 313 B
export declare class LocalStorage<T> { readonly key: string; private storage; constructor(key: string); /** * localstorage is not available in SSR, so get it only at time of use */ getStorage(): Storage | null; get(): T | undefined; set(value: T): void; clear(): void; }