File tree 5 files changed +18
-8
lines changed
src/main/scala/org/scalajs/dom 5 files changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -25614,7 +25614,7 @@ html[SO] def Media = HTMLMediaElement
25614
25614
idb[SO] type CreateIndexOptions = IDBCreateIndexOptions
25615
25615
idb[SO] type CreateObjectStoreOptions = IDBCreateObjectStoreOptions
25616
25616
idb[SO] type CursorReadOnly[+Source] = IDBCursorReadOnly[Source]
25617
- idb[SO] type CursorWithValue = IDBCursorWithValue
25617
+ idb[SO] type CursorWithValue[+Source] = IDBCursorWithValue[Source]
25618
25618
idb[SO] type Cursor[+Source] = IDBCursor[Source]
25619
25619
idb[SO] type Database = IDBDatabase
25620
25620
idb[SO] type DatabaseInfo = IDBDatabaseInfo
@@ -25799,7 +25799,7 @@ raw[SO] type HTMLVideoElement = dom.HTMLVideoElement (@deprecated in 2.0.0)
25799
25799
raw[SO] type HashChangeEvent = dom.HashChangeEvent (@deprecated in 2.0.0)
25800
25800
raw[SO] type History = dom.History (@deprecated in 2.0.0)
25801
25801
raw[SO] type IDBCursor = dom.IDBCursor[IDBObjectStore | IDBIndex] (@deprecated in 2.0.0)
25802
- raw[SO] type IDBCursorWithValue = dom.IDBCursorWithValue (@deprecated in 2.0.0)
25802
+ raw[SO] type IDBCursorWithValue = dom.IDBCursorWithValue[Any] (@deprecated in 2.0.0)
25803
25803
raw[SO] type IDBDatabase = dom.IDBDatabase (@deprecated in 2.0.0)
25804
25804
raw[SO] type IDBEnvironment = dom.IDBEnvironment (@deprecated in 2.0.0)
25805
25805
raw[SO] type IDBFactory = dom.IDBFactory (@deprecated in 2.0.0)
Original file line number Diff line number Diff line change @@ -25614,7 +25614,7 @@ html[SO] def Media = HTMLMediaElement
25614
25614
idb[SO] type CreateIndexOptions = IDBCreateIndexOptions
25615
25615
idb[SO] type CreateObjectStoreOptions = IDBCreateObjectStoreOptions
25616
25616
idb[SO] type CursorReadOnly[+Source] = IDBCursorReadOnly[Source]
25617
- idb[SO] type CursorWithValue = IDBCursorWithValue
25617
+ idb[SO] type CursorWithValue[+Source] = IDBCursorWithValue[Source]
25618
25618
idb[SO] type Cursor[+Source] = IDBCursor[Source]
25619
25619
idb[SO] type Database = IDBDatabase
25620
25620
idb[SO] type DatabaseInfo = IDBDatabaseInfo
@@ -25799,7 +25799,7 @@ raw[SO] type HTMLVideoElement = dom.HTMLVideoElement (@deprecated in 2.0.0)
25799
25799
raw[SO] type HashChangeEvent = dom.HashChangeEvent (@deprecated in 2.0.0)
25800
25800
raw[SO] type History = dom.History (@deprecated in 2.0.0)
25801
25801
raw[SO] type IDBCursor = dom.IDBCursor[IDBObjectStore | IDBIndex] (@deprecated in 2.0.0)
25802
- raw[SO] type IDBCursorWithValue = dom.IDBCursorWithValue (@deprecated in 2.0.0)
25802
+ raw[SO] type IDBCursorWithValue = dom.IDBCursorWithValue[Any] (@deprecated in 2.0.0)
25803
25803
raw[SO] type IDBDatabase = dom.IDBDatabase (@deprecated in 2.0.0)
25804
25804
raw[SO] type IDBEnvironment = dom.IDBEnvironment (@deprecated in 2.0.0)
25805
25805
raw[SO] type IDBFactory = dom.IDBFactory (@deprecated in 2.0.0)
Original file line number Diff line number Diff line change @@ -260,6 +260,9 @@ class IDBIndex extends IDBStoreLike[IDBIndex] {
260
260
* The cursor has a source that indicates which index or object store it is iterating. It has a position within the
261
261
* range, and moves in a direction that is increasing or decreasing in the order of record keys. The cursor enables an
262
262
* application to asynchronously process all the records in the cursor's range.
263
+ *
264
+ * @tparam S
265
+ * The type of `.source`
263
266
*/
264
267
@ js.native
265
268
@ JSGlobal
@@ -306,6 +309,9 @@ class IDBCursorReadOnly[+S] extends js.Object {
306
309
* The cursor has a source that indicates which index or object store it is iterating. It has a position within the
307
310
* range, and moves in a direction that is increasing or decreasing in the order of record keys. The cursor enables an
308
311
* application to asynchronously process all the records in the cursor's range.
312
+ *
313
+ * @tparam S
314
+ * The type of `.source`
309
315
*/
310
316
@ js.native
311
317
@ JSGlobal
@@ -348,10 +354,14 @@ object IDBCursorDirection {
348
354
@ inline def nextunique : IDBCursorDirection = " nextunique" .asInstanceOf [IDBCursorDirection ]
349
355
}
350
356
351
- /** Same as IDBCursor with the value property. */
357
+ /** Same as [[IDBCursor ]] with the `value` property.
358
+ *
359
+ * @tparam S
360
+ * The type of `.source`
361
+ */
352
362
@ js.native
353
363
@ JSGlobal
354
- class IDBCursorWithValue extends IDBCursor {
364
+ class IDBCursorWithValue [ + S ] extends IDBCursor [ S ] {
355
365
def value : IDBValue = js.native
356
366
}
357
367
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ object idb {
7
7
type CreateObjectStoreOptions = IDBCreateObjectStoreOptions
8
8
type Cursor [+ Source ] = IDBCursor [Source ]
9
9
type CursorReadOnly [+ Source ] = IDBCursorReadOnly [Source ]
10
- type CursorWithValue = IDBCursorWithValue
10
+ type CursorWithValue [ + Source ] = IDBCursorWithValue [ Source ]
11
11
type Database = IDBDatabase
12
12
type DatabaseInfo = IDBDatabaseInfo
13
13
type Event [+ TargetResult ] = IDBEvent [TargetResult ]
Original file line number Diff line number Diff line change @@ -483,7 +483,7 @@ object raw {
483
483
type IDBCursor = dom.IDBCursor [IDBObjectStore | IDBIndex ]
484
484
485
485
@ deprecated(" use dom.IDBCursorWithValue instead" , " 2.0.0" )
486
- type IDBCursorWithValue = dom.IDBCursorWithValue
486
+ type IDBCursorWithValue = dom.IDBCursorWithValue [ Any ]
487
487
488
488
@ deprecated(" use dom.IDBDatabase instead" , " 2.0.0" )
489
489
type IDBDatabase = dom.IDBDatabase
You can’t perform that action at this time.
0 commit comments