Skip to content

Commit a1414f6

Browse files
committedSep 23, 2023
fix: export ModelessBinds type closes #4478
1 parent e1a4b23 commit a1414f6

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
 

Diff for: ‎.changeset/proud-zebras-warn.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'vee-validate': patch
3+
---
4+
5+
fix: export ModelessBinds type closes #4478

Diff for: ‎packages/vee-validate/src/types/forms.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -265,11 +265,11 @@ export interface PrivateFormContext<TValues extends GenericObject = GenericObjec
265265
isFieldValid<TPath extends Path<TValues>>(path: TPath): boolean;
266266
}
267267

268-
interface ComponentModellessBinds {
268+
export interface ComponentModellessBinds {
269269
onBlur: () => void;
270270
}
271271

272-
type ComponentModelBinds<TValue = any, TModel extends string = 'modelValue'> = ComponentModellessBinds & {
272+
export type ComponentModelBinds<TValue = any, TModel extends string = 'modelValue'> = ComponentModellessBinds & {
273273
[TKey in `onUpdate:${TModel}`]: (value: TValue) => void;
274274
};
275275

0 commit comments

Comments
 (0)
Please sign in to comment.