[web-nfc] Do not use 'any' to define NDEFRecordInit#data (#453)

leonhsl has just created a new issue for https://github.com/w3c/web-nfc:

== Do not use 'any' to define NDEFRecordInit#data ==
I remember someone before gave a comment about not using `any` as possible as we can when doing Web IDL design, but I can not point out the exact place now.

Based on that I'd propose changing `NDEFRecordInit#data` from `any` type to
`typedef (DOMString or BufferSource or NDEFMessageInit) NDEFRecordDataSource;`,
which should just be enough. (See https://w3c.github.io/web-nfc/#data-mapping)

@reillyeon @riju @beaufortfrancois @zolkis @kenchris 

Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/453 using your GitHub account

Received on Wednesday, 27 November 2019 07:12:42 UTC