Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Present deprecated type aliases in api reports, nicely
  • Loading branch information
japgolly committed Aug 22, 2021
commit 27ce299db320746c7b8a2296f7f7dc3e39f3d6d3
2 changes: 1 addition & 1 deletion api-reports/2_12.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2090,10 +2090,10 @@ html[SO] type UList = raw.HTMLUListElement
html[SO] type Unknown = raw.HTMLUnknownElement
html[SO] type Video = raw.HTMLVideoElement
html[SO] def Media = raw.HTMLMediaElement
idb[SO] @deprecated( "Removed. This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible. See https://developer.mozilla.org/en-US/docs/Web/API/IDBEnvironment", "1.2.0") type Environment = raw.IDBEnvironment
idb[SO] type Cursor = raw.IDBCursor
idb[SO] type CursorWithValue = raw.IDBCursorWithValue
idb[SO] type Database = raw.IDBDatabase
idb[SO] type Environment = raw.IDBEnvironment (@deprecated in 1.2.0)
idb[SO] type Factory = raw.IDBFactory
idb[SO] type Index = raw.IDBIndex
idb[SO] type KeyRange = raw.IDBKeyRange
Expand Down
2 changes: 1 addition & 1 deletion api-reports/2_13.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2090,10 +2090,10 @@ html[SO] type UList = raw.HTMLUListElement
html[SO] type Unknown = raw.HTMLUnknownElement
html[SO] type Video = raw.HTMLVideoElement
html[SO] def Media = raw.HTMLMediaElement
idb[SO] @deprecated( "Removed. This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible. See https://developer.mozilla.org/en-US/docs/Web/API/IDBEnvironment", "1.2.0") type Environment = raw.IDBEnvironment
idb[SO] type Cursor = raw.IDBCursor
idb[SO] type CursorWithValue = raw.IDBCursorWithValue
idb[SO] type Database = raw.IDBDatabase
idb[SO] type Environment = raw.IDBEnvironment (@deprecated in 1.2.0)
idb[SO] type Factory = raw.IDBFactory
idb[SO] type Index = raw.IDBIndex
idb[SO] type KeyRange = raw.IDBKeyRange
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class GenerateApiReport extends SemanticRule("GenerateApiReport") {
case Decl.Def(mods, name, tparams, paramss, tpe) => t2 = Decl.Def(inspectAnnotations(mods), name, tparams, paramss, tpe)
case Decl.Val(mods, pats, tpe) => t2 = Decl.Val(inspectAnnotations(mods), pats, tpe)
case Decl.Var(mods, pats, tpe) => t2 = Decl.Var(inspectAnnotations(mods), pats, tpe)
case Defn.Type(mods, names, params, tpe) => t2 = Defn.Type(inspectAnnotations(mods), names, params, tpe)
case _ =>
}

Expand Down