-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
👕 TypeScriptTypeScript typings issueTypeScript typings issue
Description
What happened?
Using Vue SFC TypeScript, composition API.
Schema
export const AddressDto = z.object({
receipt: z.string().min(1).max(200)
});
Usage
...
const { defineComponentBinds } = useForm<AddressDtoType>({
validationSchema: toTypedSchema(AddressDto)
});
const receipt = defineComponentBinds("receipt");
The problem is that receipt.value
has no proper type in TypeScript.

I can't even use v-bind against my custom component because it does not recognize modelValue, I'm getting type errors.
Reproduction steps
No response
Version
Vue.js 3.x and vee-validate 4.x
What browsers are you seeing the problem on?
- Firefox
- Chrome
- Safari
- Microsoft Edge
Relevant log output
No response
Demo link
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
👕 TypeScriptTypeScript typings issueTypeScript typings issue