From 78b086bd38767dbd8a34b56dfb27fde446233f3d Mon Sep 17 00:00:00 2001 From: Sol Lee <82362278+saul-atomrigs@users.noreply.github.com> Date: Wed, 9 Oct 2024 21:58:36 +0900 Subject: [PATCH] chore: `no-shadow` lint warning in `insertAtPositions()` (#8142) Co-authored-by: Dominik Dorfmeister --- packages/eslint-plugin-query/src/__tests__/test-utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/eslint-plugin-query/src/__tests__/test-utils.ts b/packages/eslint-plugin-query/src/__tests__/test-utils.ts index bfefa6c2b3..2d2617118d 100644 --- a/packages/eslint-plugin-query/src/__tests__/test-utils.ts +++ b/packages/eslint-plugin-query/src/__tests__/test-utils.ts @@ -67,7 +67,7 @@ export function generateInterleavedCombinations< } function insertAtPositions( - data: Array, + baseData: Array, subset: Array, ): Array> { const combinations: Array> = [] @@ -92,7 +92,7 @@ export function generateInterleavedCombinations< } } - recurse(data, subset, 0) + recurse(baseData, subset, 0) return combinations }