UNPKG

ixfs

Version:

An 'fs' kind of library dedicated to the browser

3 lines (2 loc) 275 B
import { IGetRecordInstanceProps } from './get-record-instance.types'; export declare const getRecordInstance: ({ initializeObjectStore }: IGetRecordInstanceProps) => <TValue>(query: IDBValidKey | IDBKeyRange, onResolve: (target: IDBRequest) => TValue) => Promise<TValue>;