mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
chore(core): Lintfix modern packages (#17046)
This commit is contained in:
@@ -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'
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user