mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Fix remaining eslint errors
h/t @paescuj
This commit is contained in:
@@ -11,8 +11,8 @@ export function deepMap(
|
||||
} else if (typeof object === 'object') {
|
||||
const res: Record<string, any> = {};
|
||||
|
||||
for (var key in object) {
|
||||
var val = object[key];
|
||||
for (const key in object) {
|
||||
const val = object[key];
|
||||
|
||||
if (typeof val === 'object') {
|
||||
res[key] = deepMap(val, iterator, context);
|
||||
|
||||
Reference in New Issue
Block a user