File tree Expand file tree Collapse file tree 5 files changed +18
-8
lines changed
src/main/scala/org/scalajs/dom Expand file tree Collapse file tree 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
2561425614idb[SO] type CreateIndexOptions = IDBCreateIndexOptions
2561525615idb[SO] type CreateObjectStoreOptions = IDBCreateObjectStoreOptions
2561625616idb[SO] type CursorReadOnly[+Source] = IDBCursorReadOnly[Source]
25617- idb[SO] type CursorWithValue = IDBCursorWithValue
25617+ idb[SO] type CursorWithValue[+Source] = IDBCursorWithValue[Source]
2561825618idb[SO] type Cursor[+Source] = IDBCursor[Source]
2561925619idb[SO] type Database = IDBDatabase
2562025620idb[SO] type DatabaseInfo = IDBDatabaseInfo
@@ -25799,7 +25799,7 @@ raw[SO] type HTMLVideoElement = dom.HTMLVideoElement (@deprecated in 2.0.0)
2579925799raw[SO] type HashChangeEvent = dom.HashChangeEvent (@deprecated in 2.0.0)
2580025800raw[SO] type History = dom.History (@deprecated in 2.0.0)
2580125801raw[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)
2580325803raw[SO] type IDBDatabase = dom.IDBDatabase (@deprecated in 2.0.0)
2580425804raw[SO] type IDBEnvironment = dom.IDBEnvironment (@deprecated in 2.0.0)
2580525805raw[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
2561425614idb[SO] type CreateIndexOptions = IDBCreateIndexOptions
2561525615idb[SO] type CreateObjectStoreOptions = IDBCreateObjectStoreOptions
2561625616idb[SO] type CursorReadOnly[+Source] = IDBCursorReadOnly[Source]
25617- idb[SO] type CursorWithValue = IDBCursorWithValue
25617+ idb[SO] type CursorWithValue[+Source] = IDBCursorWithValue[Source]
2561825618idb[SO] type Cursor[+Source] = IDBCursor[Source]
2561925619idb[SO] type Database = IDBDatabase
2562025620idb[SO] type DatabaseInfo = IDBDatabaseInfo
@@ -25799,7 +25799,7 @@ raw[SO] type HTMLVideoElement = dom.HTMLVideoElement (@deprecated in 2.0.0)
2579925799raw[SO] type HashChangeEvent = dom.HashChangeEvent (@deprecated in 2.0.0)
2580025800raw[SO] type History = dom.History (@deprecated in 2.0.0)
2580125801raw[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)
2580325803raw[SO] type IDBDatabase = dom.IDBDatabase (@deprecated in 2.0.0)
2580425804raw[SO] type IDBEnvironment = dom.IDBEnvironment (@deprecated in 2.0.0)
2580525805raw[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] {
260260 * The cursor has a source that indicates which index or object store it is iterating. It has a position within the
261261 * range, and moves in a direction that is increasing or decreasing in the order of record keys. The cursor enables an
262262 * application to asynchronously process all the records in the cursor's range.
263+ *
264+ * @tparam S
265+ * The type of `.source`
263266 */
264267@ js.native
265268@ JSGlobal
@@ -306,6 +309,9 @@ class IDBCursorReadOnly[+S] extends js.Object {
306309 * The cursor has a source that indicates which index or object store it is iterating. It has a position within the
307310 * range, and moves in a direction that is increasing or decreasing in the order of record keys. The cursor enables an
308311 * application to asynchronously process all the records in the cursor's range.
312+ *
313+ * @tparam S
314+ * The type of `.source`
309315 */
310316@ js.native
311317@ JSGlobal
@@ -348,10 +354,14 @@ object IDBCursorDirection {
348354 @ inline def nextunique : IDBCursorDirection = " nextunique" .asInstanceOf [IDBCursorDirection ]
349355}
350356
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+ */
352362@ js.native
353363@ JSGlobal
354- class IDBCursorWithValue extends IDBCursor {
364+ class IDBCursorWithValue [ + S ] extends IDBCursor [ S ] {
355365 def value : IDBValue = js.native
356366}
357367
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ object idb {
77 type CreateObjectStoreOptions = IDBCreateObjectStoreOptions
88 type Cursor [+ Source ] = IDBCursor [Source ]
99 type CursorReadOnly [+ Source ] = IDBCursorReadOnly [Source ]
10- type CursorWithValue = IDBCursorWithValue
10+ type CursorWithValue [ + Source ] = IDBCursorWithValue [ Source ]
1111 type Database = IDBDatabase
1212 type DatabaseInfo = IDBDatabaseInfo
1313 type Event [+ TargetResult ] = IDBEvent [TargetResult ]
Original file line number Diff line number Diff line change @@ -483,7 +483,7 @@ object raw {
483483 type IDBCursor = dom.IDBCursor [IDBObjectStore | IDBIndex ]
484484
485485 @ deprecated(" use dom.IDBCursorWithValue instead" , " 2.0.0" )
486- type IDBCursorWithValue = dom.IDBCursorWithValue
486+ type IDBCursorWithValue = dom.IDBCursorWithValue [ Any ]
487487
488488 @ deprecated(" use dom.IDBDatabase instead" , " 2.0.0" )
489489 type IDBDatabase = dom.IDBDatabase
You can’t perform that action at this time.
0 commit comments