Skip to content

Commit

Permalink
added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Prasenjeet1200 committed Sep 9, 2020
1 parent 4466a05 commit ab6b9d5
Show file tree
Hide file tree
Showing 13 changed files with 299 additions and 146 deletions.
4 changes: 2 additions & 2 deletions build/cjs/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DOMException, ArrayBufferView, IDBKeyRange, DOMStringList, IDBTransactionMode, IDBArrayKey, IDBValidKey, IDBCursor, IDBCursorDirection, IDBObjectStore, IDBTransaction, IDBObjectStoreParameters, IDBIndexParameters } from './main-interface';
export declare function isIndexDbSupported(): boolean;
export declare function isIndexedDBSupported(): boolean;
declare class IDBTransactionWrapper {
private IDBTransaction;
/** Returns the transaction's connection. */
Expand Down Expand Up @@ -228,7 +228,7 @@ declare class IDBCursorWrapper {
/**
* Advances the cursor to the next record in range matching or after key and primaryKey. Throws an "InvalidAccessError" DOMException if the source is not an index.
*/
continuePrimaryKey(key: IDBValidKey, primaryKey: IDBValidKey): Promise<IDBCursorWrapper | null>;
continuePrimaryKey(key: IDBValidKey, primaryKey: IDBValidKey): Promise<IDBCursorWrapper>;
/**
* Delete the record pointed at by the cursor with a new value.
*
Expand Down
2 changes: 1 addition & 1 deletion build/cjs/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ab6b9d5

Please sign in to comment.