Skip to content

Commit 8c1c019

Browse files
authored
feat: expose Vue specific interfaces (#971)
* feat(useField): export VueFieldApi interface * feat(useForm): export VueFormApi interface
1 parent 2253440 commit 8c1c019

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/vue-form/src/useField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { DeepKeys, DeepValue, Validator } from '@tanstack/form-core'
55
import type { Ref, SetupContext, SlotsType } from 'vue'
66
import type { UseFieldOptions } from './types'
77

8-
interface VueFieldApi<
8+
export interface VueFieldApi<
99
TParentData,
1010
TFormValidator extends
1111
| Validator<TParentData, unknown>

packages/vue-form/src/useForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import type { NoInfer } from '@tanstack/vue-store'
77
import type { EmitsOptions, Ref, SetupContext, SlotsType } from 'vue'
88
import type { FieldComponent, UseField } from './useField'
99

10-
interface VueFormApi<
10+
export interface VueFormApi<
1111
TFormData,
1212
TFormValidator extends Validator<TFormData, unknown> | undefined = undefined,
1313
> {

0 commit comments

Comments
 (0)