Skip to content

Commit 2d282c1

Browse files
committed
Changed the property type of keyPath
1 parent d03a7cd commit 2d282c1

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

baselines/dom.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6948,7 +6948,7 @@ declare var IDBFactory: {
69486948
}
69496949

69506950
interface IDBIndex {
6951-
keyPath: string;
6951+
keyPath: string | string[];
69526952
name: string;
69536953
objectStore: IDBObjectStore;
69546954
unique: boolean;

baselines/webworker.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ declare var IDBFactory: {
336336
}
337337

338338
interface IDBIndex {
339-
keyPath: string;
339+
keyPath: string | string[];
340340
name: string;
341341
objectStore: IDBObjectStore;
342342
unique: boolean;

inputfiles/overridingTypes.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
"name": "createIndex",
66
"signatures": ["createIndex(name: string, keyPath: string | string[], optionalParameters?: any): IDBIndex"]
77
},
8+
{
9+
"kind": "property",
10+
"interface": "IDBIndex",
11+
"name": "keyPath",
12+
"type": "string | string[]"
13+
},
814
{
915
"kind": "method",
1016
"interface": "WebGLRenderingContext",

0 commit comments

Comments
 (0)