Skip to content

Commit 816c31e

Browse files
fix: it.only typings
1 parent 3bc5e8f commit 816c31e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test-reader/test-object/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ export interface TestHookDefinition {
3838
export interface TestDefinition {
3939
<T extends Partial<TestFunctionCtx> = TestFunctionCtx>(title: string, fn?: TestFunction<T>): Test;
4040

41-
only: <T>(title: string, fn?: TestFunction<T>) => Test;
41+
only: <T extends Partial<TestFunctionCtx> = TestFunctionCtx>(title: string, fn?: TestFunction<T>) => Test;
4242

43-
skip: <T>(title: string, fn?: TestFunction<T>) => Test;
43+
skip: <T extends Partial<TestFunctionCtx> = TestFunctionCtx>(title: string, fn?: TestFunction<T>) => Test;
4444
}
4545

4646
export interface SuiteDefinition {

0 commit comments

Comments
 (0)