[nfc] Promise-returning functions should return Promise<T>

jyasskin has just created a new issue for https://github.com/w3c/nfc:

= Promise-returning functions should return Promise<T> =
The [WebIDL Promise type](http://heycam.github.io/webidl/#idl-promise)
 is parametrized by the type that it's expected to be resolved with. 
For example, 
[`NFC.findAdapters()`](http://w3c.github.io/nfc/index.html#the-nfc-interface)
 should return `Promise<sequence<NfcAdapter>>`, not just `Promise`.

See https://github.com/w3c/nfc/issues/70

Received on Wednesday, 11 February 2015 05:52:39 UTC