mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
When a template contains a binding without a value, the template parser creates an `EmptyExpr` node. This would previously be translated into an `undefined` value, which would cause a crash downstream as `undefined` is not included in the allowed type, so it was not handled properly. This commit prevents the crash by returning an actual expression for empty bindings. Fixes #30076 Fixes #30929 PR Close #31594 |
||
|---|---|---|
| .. | ||
| integrationtest | ||
| ngcc | ||
| src | ||
| test | ||
| BUILD.bazel | ||
| index.ts | ||
| ngtools2.ts | ||
| package.json | ||
| tsconfig-build.json | ||
| tsconfig.json | ||