You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I had the problem too. I looked if the commit with the fix was available in the latest version currently (1.4.1) alas not. So I imported the master version which has the patch and here's how to fix it temporarily while waiting for a new version.
Change your import in the package.json to "detectrtc": "muaz-khan/DetectRTC#master",
Hi @muaz-khan and all the contributor,
I am use detectrtc with my typescript code.
When I try to use ES6 import, it's giving error on typescript checking. PFA for the same.
import DetectRTC from 'detectrtc';
const DetectRTC = require('detectrtc');
This works fine,
Can you please fix this ? So we can use it with ES6 import.
Thanks for the help.
The text was updated successfully, but these errors were encountered: