Fix all sources to comply with eslint rules introduced in 2.0.0 (no logic changes).
This commit is contained in:
+3
-3
@@ -2,11 +2,11 @@ export function omit(
|
||||
obj: Record<string, unknown>,
|
||||
keys: string[],
|
||||
): Record<string, unknown> {
|
||||
const result: Record<string, unknown> = {};
|
||||
const result: Record<string, unknown> = {}
|
||||
for (const key in obj) {
|
||||
if (!keys.includes(key)) {
|
||||
result[key] = obj[key];
|
||||
result[key] = obj[key]
|
||||
}
|
||||
}
|
||||
return result;
|
||||
return result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user