Skip to content

Commit 58c9f5b

Browse files
committed
fix(runner): fix typecheck error in hooks.ts by relaxing FixturePropsOptions typing
1 parent a131cf9 commit 58c9f5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runner/src/fixture.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export type FixtureRegistrations = Map<string, TestFixtureItem>
2020
const kPropsSymbol = Symbol('$vitest:fixture-props')
2121

2222
interface FixturePropsOptions {
23-
original?: (...args: any[]) => any
23+
original?: Function
2424
index?: number
2525
}
2626

0 commit comments

Comments
 (0)