Skip to content

Commit 514b3c9

Browse files
Merge pull request #1142 from gemini-testing/TRIVIAL.fix_it_only_types
fix: it.only typings
2 parents 3bc5e8f + 816c31e commit 514b3c9

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)