mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat: Upgrade TypeScript to v5 (no-changelog) (#5755)
This commit is contained in:
committed by
GitHub
parent
b69129bd78
commit
87e979c19a
@@ -30,7 +30,7 @@ function pluck(value: unknown[], extraArgs: unknown[]): unknown[] {
|
||||
if (current && typeof current === 'object') {
|
||||
const p: unknown[] = [];
|
||||
Object.keys(current).forEach((k) => {
|
||||
extraArgs.forEach((field: string) => {
|
||||
(extraArgs as string[]).forEach((field) => {
|
||||
if (current && field === k) {
|
||||
p.push((current as { [key: string]: unknown })[k]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user