Skip to content

Commit af0c635

Browse files
committed
Clarify type parameter meanings in type aliases
1 parent 7a8708e commit af0c635

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

api-reports/2_12.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25619,16 +25619,16 @@ idb[SO] type Cursor[+Source] = IDBCursor[Source]
2561925619
idb[SO] type Database = IDBDatabase
2562025620
idb[SO] type DatabaseInfo = IDBDatabaseInfo
2562125621
idb[SO] type Environment = IDBEnvironment (@deprecated in 1.2.0)
25622-
idb[SO] type EventTarget[+A] = IDBEventTarget[A]
25623-
idb[SO] type Event[+A] = IDBEvent[A]
25622+
idb[SO] type EventTarget[+Result] = IDBEventTarget[Result]
25623+
idb[SO] type Event[+TargetResult] = IDBEvent[TargetResult]
2562425624
idb[SO] type Factory = IDBFactory
2562525625
idb[SO] type Index = IDBIndex
2562625626
idb[SO] type Key = IDBKey
2562725627
idb[SO] type KeyPath = IDBKeyPath
2562825628
idb[SO] type KeyRange = IDBKeyRange
2562925629
idb[SO] type ObjectStore = IDBObjectStore
25630-
idb[SO] type OpenDBRequest[A] = IDBOpenDBRequest[A]
25631-
idb[SO] type Request[+Source, A] = IDBRequest[Source, A]
25630+
idb[SO] type OpenDBRequest[TargetResult] = IDBOpenDBRequest[TargetResult]
25631+
idb[SO] type Request[+Source, TargetResult] = IDBRequest[Source, TargetResult]
2563225632
idb[SO] type Transaction = IDBTransaction
2563325633
idb[SO] type Value = IDBValue
2563425634
idb[SO] type VersionChangeEvent = IDBVersionChangeEvent

api-reports/2_13.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25619,16 +25619,16 @@ idb[SO] type Cursor[+Source] = IDBCursor[Source]
2561925619
idb[SO] type Database = IDBDatabase
2562025620
idb[SO] type DatabaseInfo = IDBDatabaseInfo
2562125621
idb[SO] type Environment = IDBEnvironment (@deprecated in 1.2.0)
25622-
idb[SO] type EventTarget[+A] = IDBEventTarget[A]
25623-
idb[SO] type Event[+A] = IDBEvent[A]
25622+
idb[SO] type EventTarget[+Result] = IDBEventTarget[Result]
25623+
idb[SO] type Event[+TargetResult] = IDBEvent[TargetResult]
2562425624
idb[SO] type Factory = IDBFactory
2562525625
idb[SO] type Index = IDBIndex
2562625626
idb[SO] type Key = IDBKey
2562725627
idb[SO] type KeyPath = IDBKeyPath
2562825628
idb[SO] type KeyRange = IDBKeyRange
2562925629
idb[SO] type ObjectStore = IDBObjectStore
25630-
idb[SO] type OpenDBRequest[A] = IDBOpenDBRequest[A]
25631-
idb[SO] type Request[+Source, A] = IDBRequest[Source, A]
25630+
idb[SO] type OpenDBRequest[TargetResult] = IDBOpenDBRequest[TargetResult]
25631+
idb[SO] type Request[+Source, TargetResult] = IDBRequest[Source, TargetResult]
2563225632
idb[SO] type Transaction = IDBTransaction
2563325633
idb[SO] type Value = IDBValue
2563425634
idb[SO] type VersionChangeEvent = IDBVersionChangeEvent

src/main/scala/org/scalajs/dom/idb.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ object idb {
1010
type CursorWithValue = IDBCursorWithValue
1111
type Database = IDBDatabase
1212
type DatabaseInfo = IDBDatabaseInfo
13-
type Event[+A] = IDBEvent[A]
14-
type EventTarget[+A] = IDBEventTarget[A]
13+
type Event[+TargetResult] = IDBEvent[TargetResult]
14+
type EventTarget[+Result] = IDBEventTarget[Result]
1515
type Factory = IDBFactory
1616
type Index = IDBIndex
1717
type Key = IDBKey
1818
type KeyPath = IDBKeyPath
1919
type KeyRange = IDBKeyRange
2020
type ObjectStore = IDBObjectStore
21-
type OpenDBRequest[A] = IDBOpenDBRequest[A]
22-
type Request[+Source, A] = IDBRequest[Source, A]
21+
type OpenDBRequest[TargetResult] = IDBOpenDBRequest[TargetResult]
22+
type Request[+Source, TargetResult] = IDBRequest[Source, TargetResult]
2323
type Transaction = IDBTransaction
2424
type Value = IDBValue
2525
type VersionChangeEvent = IDBVersionChangeEvent

0 commit comments

Comments
 (0)