StorageApi

Type Alias: StorageApi

ts
type StorageApi = Pick<Storage, "getItem" | "setItem" | "removeItem">;
type StorageApi = Pick<Storage, "getItem" | "setItem" | "removeItem">;

Defined in: packages/db/src/local-storage.ts:23

Storage API interface - subset of DOM Storage that we need

Our Partners
Electric
Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.

Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.