File tree 1 file changed +3
-3
lines changed
packages/runner/src/types
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -251,9 +251,9 @@ interface SuiteCollectorCallable<ExtraContext = {}> {
251
251
/**
252
252
* @deprecated Use options as the second argument instead
253
253
*/
254
- ( name : string | Function , fn : SuiteFactory < ExtraContext > , options : TestOptions ) : SuiteCollector < ExtraContext >
255
- ( name : string | Function , fn ?: SuiteFactory < ExtraContext > , options ?: number | TestOptions ) : SuiteCollector < ExtraContext >
256
- ( name : string | Function , options : TestOptions , fn ?: SuiteFactory < ExtraContext > ) : SuiteCollector < ExtraContext >
254
+ < OverrideExtraContext extends ExtraContext = ExtraContext > ( name : string | Function , fn : SuiteFactory < OverrideExtraContext > , options : TestOptions ) : SuiteCollector < OverrideExtraContext >
255
+ < OverrideExtraContext extends ExtraContext = ExtraContext > ( name : string | Function , fn ?: SuiteFactory < OverrideExtraContext > , options ?: number | TestOptions ) : SuiteCollector < OverrideExtraContext >
256
+ < OverrideExtraContext extends ExtraContext = ExtraContext > ( name : string | Function , options : TestOptions , fn ?: SuiteFactory < OverrideExtraContext > ) : SuiteCollector < OverrideExtraContext >
257
257
}
258
258
259
259
type ChainableSuiteAPI < ExtraContext = { } > = ChainableFunction <
You can’t perform that action at this time.
0 commit comments