Skip to content

Commit

Permalink
chore: no-shadow lint warning in insertAtPositions() (#8142)
Browse files Browse the repository at this point in the history
Co-authored-by: Dominik Dorfmeister <[email protected]>
  • Loading branch information
saul-atomrigs and TkDodo authored Oct 9, 2024
1 parent cae2524 commit 78b086b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/eslint-plugin-query/src/__tests__/test-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export function generateInterleavedCombinations<
}

function insertAtPositions(
data: Array<TResult>,
baseData: Array<TResult>,
subset: Array<TResult>,
): Array<Array<TResult>> {
const combinations: Array<Array<TResult>> = []
Expand All @@ -92,7 +92,7 @@ export function generateInterleavedCombinations<
}
}

recurse(data, subset, 0)
recurse(baseData, subset, 0)
return combinations
}

Expand Down

0 comments on commit 78b086b

Please sign in to comment.