Closed garthmountain closed 5 years ago
Ps. should have mentioned, the lint error is "expression expected"
From https://github.com/jakearchibald/idb/blob/master/README.md#async-iterators
Async iterator support isn't included by default (Edge doesn't support them).
Hi Jake, Firstly, thank you for this package, much appreciated.
I've just upgraded from v2.1.3 to v4.0.3. This above error appears in my console window on app load, when testing in Edge, Chrome works fine. My app is Angular 7 (with service workers), running localhost. Selecting the error takes me to the js bundle and marks the error line as the first line of the code below:
The code in node_modules/idb/lib/async-iterators.ts looks like (my Webstorm shows a lint err on the 4th line (let cursor...)):
My code looks like: