mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
2c41bb8490
It's an error to declare a variable twice on a specific template: ```html <div *ngFor="let i of items; let i = index"> </div> ``` This commit introduces a template type-checking error which helps to detect and diagnose this problem. Fixes #35186 PR Close #35674