diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-11-24 09:31:10 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-24 09:31:10 +1100 |
commit | 276f5297556097461e0b63f2b958d825c1c857ab (patch) | |
tree | c4146607a4646968d03ef804ec573133b2547553 /cli/dts/lib.dom.iterable.d.ts | |
parent | 266925d772527c9ba5fbc094e67cade31fc35a47 (diff) |
feat(cli): update to TypeScript 4.1 (#7573)
Diffstat (limited to 'cli/dts/lib.dom.iterable.d.ts')
-rw-r--r-- | cli/dts/lib.dom.iterable.d.ts | 7 |
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. |