forked from dumbmatter/fakeIndexedDB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.d.ts
31 lines (28 loc) · 1.11 KB
/
types.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import { Memento } from "vscode";
declare const fakeIndexedDB: typeof FDBFactory;
declare const FDBCursor: typeof IDBCursor;
declare const FDBCursorWithValue: typeof IDBCursorWithValue;
declare const FDBDatabase: typeof IDBDatabase;
declare const FDBFactory: typeof IDBFactory & { memento: Memento };
declare const FDBIndex: typeof IDBIndex;
declare const FDBKeyRange: typeof IDBKeyRange;
declare const FDBObjectStore: typeof IDBObjectStore;
declare const FDBOpenDBRequest: typeof IDBOpenDBRequest;
declare const FDBRequest: typeof IDBRequest;
declare const FDBTransaction: typeof IDBTransaction;
declare const FDBVersionChangeEvent: typeof IDBVersionChangeEvent;
export default fakeIndexedDB;
export {
fakeIndexedDB as indexedDB,
FDBCursor as IDBCursor,
FDBCursorWithValue as IDBCursorWithValue,
FDBDatabase as IDBDatabase,
FDBFactory as IDBFactory,
FDBIndex as IDBIndex,
FDBKeyRange as IDBKeyRange,
FDBObjectStore as IDBObjectStore,
FDBOpenDBRequest as IDBOpenDBRequest,
FDBRequest as IDBRequest,
FDBTransaction as IDBTransaction,
FDBVersionChangeEvent as IDBVersionChangeEvent,
};