Skip to content

Commit

Permalink
Merge pull request #825 from scala-js/fix-returntype-serialnumber-webnfc
Browse files Browse the repository at this point in the history
fix: `NDEFReadingEventInit.serialNumber` returns a string
  • Loading branch information
zetashift authored Dec 21, 2023
2 parents cccf225 + 5170f89 commit 29724e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api-reports/2_12.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16689,7 +16689,7 @@ NDEFReadingEventInit[JT] var cancelable: js.UndefOr[Boolean]
NDEFReadingEventInit[JT] var composed: js.UndefOr[Boolean]
NDEFReadingEventInit[JT] var message: NDEFRecordInit
NDEFReadingEventInit[JT] var scoped: js.UndefOr[Boolean]
NDEFReadingEventInit[JT] var serialNumber: js.UndefOr[AbortSignal]
NDEFReadingEventInit[JT] var serialNumber: js.UndefOr[String]
NDEFRecord[JC] def data: js.typedarray.DataView
NDEFRecord[JC] def encoding: js.UndefOr[String]
NDEFRecord[JC] def id: js.UndefOr[String]
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 @@ -16689,7 +16689,7 @@ NDEFReadingEventInit[JT] var cancelable: js.UndefOr[Boolean]
NDEFReadingEventInit[JT] var composed: js.UndefOr[Boolean]
NDEFReadingEventInit[JT] var message: NDEFRecordInit
NDEFReadingEventInit[JT] var scoped: js.UndefOr[Boolean]
NDEFReadingEventInit[JT] var serialNumber: js.UndefOr[AbortSignal]
NDEFReadingEventInit[JT] var serialNumber: js.UndefOr[String]
NDEFRecord[JC] def data: js.typedarray.DataView
NDEFRecord[JC] def encoding: js.UndefOr[String]
NDEFRecord[JC] def id: js.UndefOr[String]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ trait NDEFReadingEventInit extends EventInit {
/** A string with the name of the event. It is case-sensitive and browsers always set it to reading. Default is "" an
* empty string
*/
var serialNumber: js.UndefOr[AbortSignal] = js.undefined
var serialNumber: js.UndefOr[String] = js.undefined

/** An object that, in addition of the properties defined in Event(), can have the following properties: serialNumber;
* message
Expand Down

0 comments on commit 29724e9

Please sign in to comment.