Issue
after migrating to new angular 17 and updating my template, ng serve throws this message NG5002: Cannot parse expression. @for loop expression must match the pattern " of "
Solution
after some diging, it was because of Capital "O" of "Of"
for some bugs i believe, below line:
@for (relation Of detail.Relations; track relation) {
should be changed to
@for (relation of detail.Relations; track relation) {
Answered By - Amirreza
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.