Re: [web-nfc] Add type NDEFRecordType to web-nfc.d.ts (#629)

Well, to me it seems that if we cannot add to the definitions a generic "string" as a fallback, then we should leave `recordType` as `string`. Static type validation as "string" should be enough, and dynamic validation, including standard record types defined by the NFC Forum, is defined by the algorithms in the spec, and it will depend on context (where the records belong). 
If there are shortcomings there, please file issues.

-- 
GitHub Notification of comment by zolkis
Please view or discuss this issue at https://github.com/w3c/web-nfc/pull/629#issuecomment-975311702 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 22 November 2021 09:15:08 UTC