UNPKG

@worker-tools/kv-storage-polyfill

Version:

Typed wrapper around https://github.com/GoogleChromeLabs/kv-storage-polyfill

9 lines (8 loc) 378 B
import type { StorageArea as IStorageArea, Options } from "kv-storage-interface"; declare type StorageAreaConstructor = new (name: string, opts?: Options) => IStorageArea; declare type StorageAreaClass = StorageAreaConstructor & { prototype: IStorageArea; }; export declare const StorageArea: StorageAreaClass; declare const _default: IStorageArea; export default _default;