From 92423d6108e7baa09b7c8367dc9e4a13941b5840 Mon Sep 17 00:00:00 2001 From: Arya Emami Date: Thu, 21 Mar 2024 20:16:28 -0500 Subject: [PATCH] fix: `describe` calls not taking generic type parameters --- packages/runner/src/types/tasks.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/runner/src/types/tasks.ts b/packages/runner/src/types/tasks.ts index afb822cb1e4f..aff756cab294 100644 --- a/packages/runner/src/types/tasks.ts +++ b/packages/runner/src/types/tasks.ts @@ -251,9 +251,9 @@ interface SuiteCollectorCallable { /** * @deprecated Use options as the second argument instead */ - (name: string | Function, fn: SuiteFactory, options: TestOptions): SuiteCollector - (name: string | Function, fn?: SuiteFactory, options?: number | TestOptions): SuiteCollector - (name: string | Function, options: TestOptions, fn?: SuiteFactory): SuiteCollector + (name: string | Function, fn: SuiteFactory, options: TestOptions): SuiteCollector + (name: string | Function, fn?: SuiteFactory, options?: number | TestOptions): SuiteCollector + (name: string | Function, options: TestOptions, fn?: SuiteFactory): SuiteCollector } type ChainableSuiteAPI = ChainableFunction<