156
rated 0 times
[
162]
[
6]
/ answers: 1 / hits: 56813
/ 6 Years ago, mon, march 12, 2018, 12:00:00
I have got a tslint error to my for loop when I try to resolve it it says to convert to for-of. I have seen many docs but its not helpful.How can I solve the lint error and I cannot do tslint:disable-next-line:prefer-for-of
for (let i = 0; i < this.rows.length; ++i) {
if (!this.rows[i].selected) {
this.selectAllChecked = false;
break;
}
}
More From » visual-studio