No warning given when using ES2017 #13477
Labels
area: @angular-devkit/build-angular
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Milestone
🐞 Bug report
Command (mark with an
x
)Is this a regression?
No.
Description
Zone.js does not support native async/await (angular/zone.js#1140) as present in ES2017. This means code that happens inside async/await blocks is invisible to zone.js thus not triggering change detection.
Since this is a footgun for developer, Angular CLI should show a warning about this when ES2017 is set as the typescript target.
🔬 Minimal Reproduction
angular/zone.js#1140
🔥 Exception or Error
No error, just no change detection.
🌍 Your Environment
Anything else relevant?
The text was updated successfully, but these errors were encountered: