/** * @module types */ export type StorageValueType = | string | number | boolean | object | StorageValueType[]; export interface IStorage { set(key: string, value: T): IStorage; delete(key: string): IStorage; get(key: string): R | void; exists(key: string): boolean; clear(): IStorage; }