UNPKG

@speechly/browser-client

Version:

JavaScript client for Speechly Streaming API

12 lines (11 loc) 309 B
import { Storage as IStorage } from './types'; /** * @internal */ export declare class LocalStorage implements IStorage { private readonly storage; constructor(); get(key: string): string | null; set(key: string, val: string): void; getOrSet(key: string, genFn: () => string): string; }