From 2b5da93961c12f9cecdaeba41016bd145346dcc7 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Mon, 19 Aug 2024 23:04:45 +0200 Subject: [PATCH] chore: simplify code --- test/support/seeded-runs.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/test/support/seeded-runs.ts b/test/support/seeded-runs.ts index c9c6b00fcfa..19ef410f02d 100644 --- a/test/support/seeded-runs.ts +++ b/test/support/seeded-runs.ts @@ -176,17 +176,12 @@ class TestGenerator< * @param method The name of the method. * @param repetitions The number of repetitions to run. */ - // TODO @ST-DDT 2024-08-19: https://github.com/typescript-eslint/typescript-eslint/issues/9828 - // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters - itRepeated>( - method: TMethodName, - repetitions: number - ): this { + itRepeated(method: NoArgsMethodOf, repetitions: number): this { this.expectNotTested(method); vi_it(method, () => this.callAndVerify( method, - [] as unknown as Parameters, + [] as unknown as Parameters]>, repetitions ) );