Skip to content

Commit 6d5060a

Browse files
committed
Update IDBIndex and IDBObjectStore keyPath types to allow null values
1 parent 0aac720 commit 6d5060a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/dom.generated.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14549,7 +14549,7 @@ declare var IDBFactory: {
1454914549
*/
1455014550
interface IDBIndex {
1455114551
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/keyPath) */
14552-
readonly keyPath: string | string[];
14552+
readonly keyPath: string | string[] | null;
1455314553
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/multiEntry) */
1455414554
readonly multiEntry: boolean;
1455514555
/**
@@ -14719,7 +14719,7 @@ interface IDBObjectStore {
1471914719
*
1472014720
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)
1472114721
*/
14722-
readonly keyPath: string | string[];
14722+
readonly keyPath: string | string[] | null;
1472314723
/**
1472414724
* Returns the name of the store.
1472514725
*

0 commit comments

Comments
 (0)