[web-nfc] Pull Request: Do not use 'any' to define NDEFRecordInit#data

beaufortfrancois has just submitted a new pull request for https://github.com/w3c/web-nfc:

== Do not use 'any' to define NDEFRecordInit#data ==
This PR replaces NDEFRecord `any data` with `NDEFRecordSource data`. The new `NDEFRecordSource` is `typedef (DOMString or BufferSource or NDEFMessageInit)`

```js
const textRecord = new NDEFRecord({ recordType: "text", data: "foo" });
```

FIX #453 

See https://github.com/w3c/web-nfc/pull/454

Received on Wednesday, 27 November 2019 07:30:28 UTC