-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
Milestone
Description
I'm submitting a...
[ ] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/NationalBankBelgium/code-style/blob/master/CONTRIBUTING.md#got-a-question-or-problem
Current behavior
Target > ES2017 is not supported by zone.js until angular v11.2.0.
angular/angular-cli#19871
More links:
- angular with tsconfig target ES2017 async/await will not work with zone.js angular/angular#31730
- WIP(async): support native async/await angular/zone.js#1140
A warning is displayed in test and in build:
WARNING: Zone.js does not support native async/await in ES2017.
These blocks are not intercepted by zone.js and will not triggering change detection.
See: https://github.com/angular/zone.js/pull/1140 for more information.Expected behavior
The target should be ES2015 in tsconfig up to TypeScript 4.0 configuration.
What is the motivation / use case for changing the behavior?
Fix issue
Environment
Angular version: 9.x
Code Style version: 1.5.0
Others: