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
This case is particularly egregious but all uses of await are wrapped in the ES6 version and native in the ES2018 version. We use await extensively in the @lumino/application and @lumino/polling packages.
Please 👍 if you agree and 👎 if you disagree.
The text was updated successfully, but these errors were encountered:
Looking at the ECMAScript 2016+ compatibility table, it looks like among the browsers we support, async generators are available (and most other ECMAScript features to that point as well). The only limitation I see is that Safari is missing support for RegExp Lookbehind Assertions.
It seems as though the browsers we support all support ES2018: https://caniuse.com/?search=ES2018
I propose switching to
ES2018
as our compilationtarget
:lumino/tsconfigbase.json
Line 21 in b603dd3
What do you think?
Pathological case
Out of curiosity, I looked to see how the
[Symbol.asyncIterator]
function inPoll
compiled.TypeScript source
Compiled with ES6 target
Compiled with ES2018 target
This case is particularly egregious but all uses of
await
are wrapped in the ES6 version and native in the ES2018 version. We useawait
extensively in the@lumino/application
and@lumino/polling
packages.Please 👍 if you agree and 👎 if you disagree.
The text was updated successfully, but these errors were encountered: