mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(core): Remove linting exceptions in nodes-base, @typescript-eslint/no-unsafe-argument (no-changelog)
This commit is contained in:
@@ -48,7 +48,7 @@ export function chunk(array: any[], size = 1) {
|
||||
export function flatten(nestedArray: any[][]) {
|
||||
const result = [];
|
||||
|
||||
(function loop(array: any[]) {
|
||||
(function loop(array: any[] | any) {
|
||||
for (let i = 0; i < array.length; i++) {
|
||||
if (Array.isArray(array[i])) {
|
||||
loop(array[i]);
|
||||
|
||||
Reference in New Issue
Block a user