Skip to content

Commit 170165b

Browse files
Bashamegasaschanaz
andauthored
fix(IDBObjectStore): Allow keyPath to be null (#1934)
Co-authored-by: saschanaz <[email protected]>
1 parent 76091e2 commit 170165b

9 files changed

+9
-9
lines changed

baselines/dom.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14864,7 +14864,7 @@ interface IDBObjectStore {
1486414864
*
1486514865
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)
1486614866
*/
14867-
readonly keyPath: string | string[];
14867+
readonly keyPath: string | string[] | null;
1486814868
/**
1486914869
* Returns the name of the store.
1487014870
*

baselines/serviceworker.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3333,7 +3333,7 @@ interface IDBObjectStore {
33333333
*
33343334
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)
33353335
*/
3336-
readonly keyPath: string | string[];
3336+
readonly keyPath: string | string[] | null;
33373337
/**
33383338
* Returns the name of the store.
33393339
*

baselines/sharedworker.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3152,7 +3152,7 @@ interface IDBObjectStore {
31523152
*
31533153
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)
31543154
*/
3155-
readonly keyPath: string | string[];
3155+
readonly keyPath: string | string[] | null;
31563156
/**
31573157
* Returns the name of the store.
31583158
*

baselines/ts5.5/dom.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14844,7 +14844,7 @@ interface IDBObjectStore {
1484414844
*
1484514845
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)
1484614846
*/
14847-
readonly keyPath: string | string[];
14847+
readonly keyPath: string | string[] | null;
1484814848
/**
1484914849
* Returns the name of the store.
1485014850
*

baselines/ts5.5/serviceworker.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3333,7 +3333,7 @@ interface IDBObjectStore {
33333333
*
33343334
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)
33353335
*/
3336-
readonly keyPath: string | string[];
3336+
readonly keyPath: string | string[] | null;
33373337
/**
33383338
* Returns the name of the store.
33393339
*

baselines/ts5.5/sharedworker.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3152,7 +3152,7 @@ interface IDBObjectStore {
31523152
*
31533153
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)
31543154
*/
3155-
readonly keyPath: string | string[];
3155+
readonly keyPath: string | string[] | null;
31563156
/**
31573157
* Returns the name of the store.
31583158
*

baselines/ts5.5/webworker.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3823,7 +3823,7 @@ interface IDBObjectStore {
38233823
*
38243824
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)
38253825
*/
3826-
readonly keyPath: string | string[];
3826+
readonly keyPath: string | string[] | null;
38273827
/**
38283828
* Returns the name of the store.
38293829
*

baselines/webworker.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3823,7 +3823,7 @@ interface IDBObjectStore {
38233823
*
38243824
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)
38253825
*/
3826-
readonly keyPath: string | string[];
3826+
readonly keyPath: string | string[] | null;
38273827
/**
38283828
* Returns the name of the store.
38293829
*

inputfiles/overridingTypes.jsonc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,7 @@
12181218
"property": {
12191219
"keyPath": {
12201220
"name": "keyPath",
1221-
"overrideType": "string | string[]"
1221+
"overrideType": "string | string[] | null"
12221222
}
12231223
}
12241224
}

0 commit comments

Comments
 (0)