Support Angular v21.2 (#18722)

This commit is contained in:
fisker Cheung authored and GitHub committed 2026-04-10 10:03:27 +08:00
1 parent e4944b2c7a
commit 384cf33671
9 files changed
+231 -14

No files matched your search

@@ -0,0 +1,25 @@
@let fn = (a, b) => componentValue + a + b;
One: {{fn(0, 1)}}
@if (true) {
Two: {{fn(1, 1)}}
<button (click)=" componentValue = fn(2, 1)"></button>
<button (click)=" componentValue => fn(2, 1)"></button>
}
{{[(a) => a + 1][0](1000)}}
{{[(a ) => a + 1 + componentProp][0](1000)}}
@let a = 1;
@if (true) {
@let b = 2;
@if (true) {
@let c = 3;
{{(() => a + b + c)()}}
}
}