Skip to content

Commit f33974c

Browse files
committed
fix(types): expose field and form slot prop types closes #4900
1 parent f8a82fc commit f33974c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/curvy-insects-peel.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"vee-validate": patch
3+
---
4+
5+
fix(types): expose field and form slot prop types closes #4900

packages/vee-validate/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ export { validate, validateObjectSchema as validateObject } from './validate';
22
export { defineRule } from './defineRule';
33
export { configure } from './config';
44
export { normalizeRules, isNotNestedPath, cleanupNonNestedPath } from './utils';
5-
export { Field, FieldBindingObject, ComponentFieldBindingObject } from './Field';
6-
export { Form } from './Form';
5+
export { Field, FieldBindingObject, ComponentFieldBindingObject, FieldSlotProps } from './Field';
6+
export { Form, FormSlotProps } from './Form';
77
export { FieldArray } from './FieldArray';
88
export { ErrorMessage } from './ErrorMessage';
99
export { useField, FieldOptions, RuleExpression } from './useField';

0 commit comments

Comments
 (0)