mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
chore(): enable "prefer-for-of"
This commit is contained in:
@ -76,8 +76,7 @@ export function matches(view: ViewController | undefined, id: string, params: Co
|
||||
}
|
||||
|
||||
// Test for A's keys different from B.
|
||||
for (let i = 0; i < keysA.length; i++) {
|
||||
const key = keysA[i];
|
||||
for (const key of keysA) {
|
||||
if (currentParams[key] !== params[key]) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user