@this-dot/cypress-indexeddb
Version:
A Cypress.io helper library for reading and manipulating data inside IndexedDB
4 lines (3 loc) • 345 B
TypeScript
export declare function isIDBObjectStore(subject: unknown): subject is IDBObjectStore;
export declare function isIDBDatabase(subject: unknown): subject is IDBDatabase;
export declare function getCommandArguments<T>(key: IDBValidKey | IDBKeyRange | null, value: T | undefined): [T, IDBValidKey | IDBKeyRange] | [IDBValidKey | IDBKeyRange] | [T];