mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(): enable "prefer-for-of"
This commit is contained in:
@@ -50,8 +50,7 @@ export class Route {
|
||||
this.onUpdate(newValue);
|
||||
return;
|
||||
}
|
||||
for (let i = 0; i < keys1.length; i++) {
|
||||
const key = keys1[i];
|
||||
for (const key of keys1) {
|
||||
if (newValue[key] !== oldValue[key]) {
|
||||
this.onUpdate(newValue);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user