title: How to deploy nativescript-barcodescanner in typescript?
body: <p>I am trying to run demo from <a href="https://github.com/EddyVerbruggen/nativescript-barcodescanner/tree/master/demo" rel="nofollow noreferrer">https://github.com/EddyVerbruggen/nativescript-barcodescanner/tree/master/demo</a> both locally and online at <a href="https://play.nativescript.org/?template=play-tsc&amp;id=CB7XFu&amp;v=2" rel="nofollow noreferrer">https://play.nativescript.org/?template=play-tsc&amp;id=CB7XFu&amp;v=2</a> but no luck. On the playground I have added the plugin.</p>
  
  <p>I noticed there is a similar question here <a href="https://stackoverflow.com/questions/40393983/how-to-use-barcodescanner-plugin-from-nativescript">How to use BarcodeScanner plugin from NativeScript</a> but seems it's 3 years before and the plugin changed a lot after that.</p>
  
  <p>Can anyone try the playground and tell which line I got wrong? I strictly followed the demo in github. The error message is <code>Can't find variable: QRCodeReaderDelegate</code></p>