Skip to content

Commit 3233667

Browse files
authored
fix(arktypeResolver): resolve type error when schema is defined from an ArkType scope (#732)
1 parent 5030a59 commit 3233667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arktype/src/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Type } from 'arktype';
22
import { FieldValues, ResolverOptions, ResolverResult } from 'react-hook-form';
33

4-
export type Resolver = <T extends Type<any>>(
4+
export type Resolver = <T extends Type<any, any>>(
55
schema: T,
66
schemaOptions?: undefined,
77
factoryOptions?: {

0 commit comments

Comments
 (0)