then-chrome
then-chrome copied to clipboard
Promise-based chrome-api
Hi, I'm getting error when calling any method like tabs, windows etc. Ex: I'm calling ``` chrome.tabs.query({}, function(res){ console.log(res); }) ``` I'm getting error. ``` Uncaught (in promise): TypeError: Cannot...
Hi, really I don't know if you support this package or not:) But. There is an error in the autocomplete (in PhpStorm) - it doesn't understand `@typedef Function` without `{}`....
Currently event channels are not in then-chrome. So I can not write: ```js thenChrome.alarms.create('alarm'); thenChrome.alarms.onAlarm.addListener(listener); ``` It gets error: > Uncaught TypeError: Cannot read property 'addListener' of undefined I need...