- From: François Beaufort via GitHub <sysbot+gh@w3.org>
- Date: Thu, 18 Nov 2021 08:22:29 +0000
- To: public-web-nfc@w3.org
As you can see at https://w3c.github.io/web-nfc/#data-mapping, `recordType` can be any string that follows a certain pattern (See local type and external type). Is it possible in TypeScript to have something like below? ```ts readonly recordType: NDEFRecordTypes | string; ``` or ```ts type NDEFRecordTypes = string | "absolute-url" | "empty" | "mime" | "smart-poster" | "text" | "unknown" | "URL"; ``` -- GitHub Notification of comment by beaufortfrancois Please view or discuss this issue at https://github.com/w3c/web-nfc/pull/629#issuecomment-972637525 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 18 November 2021 08:22:31 UTC