Open gabelevi opened 9 years ago
Yep, I think that's reasonable. In particular, there is no immediate need to deprecate AwaitExpression
. This library is designed so that AwaitExpression
and await
-as-UnaryOperator
can coexist in the type space for as long as both are useful.
Async/await now has a semi-official posted draft spec and they've decided to make
await foo
a unary expression.Any opinion on how to move forward? Support definitions for both
AwaitExpression
and addawait
toUnaryOperator
s in es7.js?CC @nmote