From dec854cb1570bb084e0044bc07ebb50c7153ad2f Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Tue, 4 Oct 2022 12:51:35 -0500 Subject: [PATCH] Fix spelling --- packages/eslint-plugin/src/rules/no-misused-promises.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-plugin/src/rules/no-misused-promises.ts b/packages/eslint-plugin/src/rules/no-misused-promises.ts index 58051c660f21..890cea62ffc7 100644 --- a/packages/eslint-plugin/src/rules/no-misused-promises.ts +++ b/packages/eslint-plugin/src/rules/no-misused-promises.ts @@ -540,7 +540,7 @@ function voidFunctionArguments( node.expression, ); - // If this is a array 'rest' parameter, check all of the argument indicies + // If this is a array 'rest' parameter, check all of the argument indices // from the current argument to the end. // Note - we currently do not support 'spread' arguments - adding support for them // is tracked in https://github.com/typescript-eslint/typescript-eslint/issues/5744