File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ let rec DomTypeToTsType (objDomType: string) =
28
28
| " Date" -> " Date"
29
29
| " DOMHighResTimeStamp" -> " number"
30
30
| " DOMString" -> " string"
31
+ | " DOMStringList" -> " string[]"
31
32
| " DOMTimeStamp" -> " number"
32
33
| " EndOfStreamError" -> " number"
33
34
| " EventListener" -> " EventListenerOrEventListenerObject"
Original file line number Diff line number Diff line change @@ -2173,7 +2173,7 @@ interface DataTransfer {
2173
2173
effectAllowed: string;
2174
2174
readonly files: FileList;
2175
2175
readonly items: DataTransferItemList;
2176
- readonly types: DOMStringList ;
2176
+ readonly types: string[] ;
2177
2177
clearData(format?: string): boolean;
2178
2178
getData(format: string): string;
2179
2179
setData(format: string, data: string): boolean;
@@ -7584,7 +7584,7 @@ declare var IDBCursorWithValue: {
7584
7584
7585
7585
interface IDBDatabase extends EventTarget {
7586
7586
readonly name: string;
7587
- readonly objectStoreNames: DOMStringList ;
7587
+ readonly objectStoreNames: string[] ;
7588
7588
onabort: (this: this, ev: Event) => any;
7589
7589
onerror: (this: this, ev: ErrorEvent) => any;
7590
7590
version: number;
@@ -7650,7 +7650,7 @@ declare var IDBKeyRange: {
7650
7650
}
7651
7651
7652
7652
interface IDBObjectStore {
7653
- readonly indexNames: DOMStringList ;
7653
+ readonly indexNames: string[] ;
7654
7654
keyPath: string | string[];
7655
7655
readonly name: string;
7656
7656
readonly transaction: IDBTransaction;
Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ declare var IDBCursorWithValue: {
341
341
342
342
interface IDBDatabase extends EventTarget {
343
343
readonly name : string ;
344
- readonly objectStoreNames : DOMStringList ;
344
+ readonly objectStoreNames : string [ ] ;
345
345
onabort : ( this : this, ev : Event ) => any ;
346
346
onerror : ( this : this, ev : ErrorEvent ) => any ;
347
347
version : number ;
@@ -407,7 +407,7 @@ declare var IDBKeyRange: {
407
407
}
408
408
409
409
interface IDBObjectStore {
410
- readonly indexNames : DOMStringList ;
410
+ readonly indexNames : string [ ] ;
411
411
keyPath : string | string [ ] ;
412
412
readonly name : string ;
413
413
readonly transaction : IDBTransaction ;
You can’t perform that action at this time.
0 commit comments