summaryrefslogtreecommitdiff
path: root/cli/dts/lib.dom.iterable.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/dts/lib.dom.iterable.d.ts')
-rw-r--r--cli/dts/lib.dom.iterable.d.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/dts/lib.dom.iterable.d.ts b/cli/dts/lib.dom.iterable.d.ts
index 1200443b3..ebd56d767 100644
--- a/cli/dts/lib.dom.iterable.d.ts
+++ b/cli/dts/lib.dom.iterable.d.ts
@@ -129,6 +129,13 @@ interface Headers {
values(): IterableIterator<string>;
}
+interface IDBDatabase {
+ /**
+ * Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.
+ */
+ transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode): IDBTransaction;
+}
+
interface IDBObjectStore {
/**
* Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.