NDEFReader in TypeScript
问题 I'm trying to use NDEFReader() for NFC scan/write in React. This feature works from Chrome 81 (you can try it on your mobile in Chrome beta today on links below). GoogleChromeNfcSample, WhatWebCanDoTodayNfc To enable this feature, you need to go into chrome://flags/ and enable Experimental Web Platform features . The problem is that I can't make this work in React. I use create-react-app with TypeScript and console output: Cannot find name 'NDEFReader' I think that this causes a webpack check