diff --git a/packages/resolvers/valibot/src/types.ts b/packages/resolvers/valibot/src/types.ts index 080f959..1283845 100644 --- a/packages/resolvers/valibot/src/types.ts +++ b/packages/resolvers/valibot/src/types.ts @@ -1,8 +1,8 @@ -import { ObjectSchema } from 'valibot'; +import { BaseSchema, BaseSchemaAsync } from 'valibot'; import type { FormErrors, FormValues } from '@vorms/core'; -export type Resolver = >( +export type Resolver = ( schema: T, ) => ( values: Values,