mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
bec1610da2
The semantics for nullish coalescing (`??`) in Javascript/Typescript differ slightly from the semantics in Angular templates. Mixing nullish coalescing with logical and/or without parentheses is an error in Javascript. This PR adds an extended diagnostic that can be enabled to treat it as an error in Angular templates as well. PR Close #60279