chore(core): Lintfix modern packages (#17046)

This commit is contained in:
Iván Ovejero
2025-07-07 14:30:57 +02:00
committed by GitHub
parent 534f34d4c1
commit 7d06a89d4d
14 changed files with 10 additions and 20 deletions

View File

@@ -12,7 +12,6 @@ export function isObjectLiteral(candidate: unknown): candidate is ObjectLiteral
typeof candidate === 'object' &&
candidate !== null &&
!Array.isArray(candidate) &&
// eslint-disable-next-line @typescript-eslint/no-restricted-types
(Object.getPrototypeOf(candidate) as Object)?.constructor?.name === 'Object'
(Object.getPrototypeOf(candidate) as object)?.constructor?.name === 'Object'
);
}