From 5170f893488458d238afec5cbc4b06f221ba971e Mon Sep 17 00:00:00 2001 From: zetashift Date: Thu, 21 Dec 2023 23:48:59 +0100 Subject: [PATCH] fix: NDEFReadingEventInit.serialNumber returns a string --- api-reports/2_12.txt | 2 +- api-reports/2_13.txt | 2 +- dom/src/main/scala/org/scalajs/dom/NDEFReadingEventInit.scala | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api-reports/2_12.txt b/api-reports/2_12.txt index 7da7e1f8..840d41a6 100644 --- a/api-reports/2_12.txt +++ b/api-reports/2_12.txt @@ -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] diff --git a/api-reports/2_13.txt b/api-reports/2_13.txt index 7da7e1f8..840d41a6 100644 --- a/api-reports/2_13.txt +++ b/api-reports/2_13.txt @@ -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] diff --git a/dom/src/main/scala/org/scalajs/dom/NDEFReadingEventInit.scala b/dom/src/main/scala/org/scalajs/dom/NDEFReadingEventInit.scala index b6b5364f..50f491bd 100644 --- a/dom/src/main/scala/org/scalajs/dom/NDEFReadingEventInit.scala +++ b/dom/src/main/scala/org/scalajs/dom/NDEFReadingEventInit.scala @@ -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