Skip to content

Commit 421ae69

Browse files
committed
fix(types): export component internal types
1 parent 7c8c958 commit 421ae69

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.changeset/sour-colts-cry.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): export component internal types"

packages/vee-validate/src/ErrorMessage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { inject, h, defineComponent, computed, resolveDynamicComponent, VNode }
22
import { FormContextKey } from './symbols';
33
import { normalizeChildren } from './utils';
44

5-
interface ErrorMessageSlotProps {
5+
export interface ErrorMessageSlotProps {
66
message: string | undefined;
77
}
88

packages/vee-validate/src/Form.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { SubmissionHandler, InvalidSubmissionHandler, GenericObject, FormMeta, F
44
import { isEvent, isFormSubmitEvent, normalizeChildren } from './utils';
55
import { klona as deepCopy } from 'klona/full';
66

7-
type FormSlotProps = UnwrapRef<
7+
export type FormSlotProps = UnwrapRef<
88
Pick<
99
FormContext,
1010
| 'meta'

0 commit comments

Comments
 (0)