UNPKG

@johngw/stream

Version:

Reactive programming tools using the WHATWG Streams API.

16 lines 450 B
import type { Clearable } from '../types/Clearable.js'; /** * An in-memory storage class. * * @group Storages */ export declare class MemoryStorage implements Storage, Clearable { #private; get length(): number; clear(): void; getItem(key: string): string | null; key(index: number): string | null; removeItem(key: string): void; setItem(key: string, value: string): void; } //# sourceMappingURL=MemoryStorage.d.ts.map