We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f5615a commit 9b63b8bCopy full SHA for 9b63b8b
packages/react-form/src/index.ts
@@ -1,5 +1,6 @@
1
export * from '@tanstack/form-core'
2
3
+export type { ReactFormApi } from './useForm'
4
export { useForm } from './useForm'
5
6
export type { UseField, FieldComponent } from './useField'
packages/react-form/src/useForm.tsx
@@ -10,7 +10,7 @@ import type { NodeType } from './types'
10
/**
11
* Fields that are added onto the `FormAPI` from `@tanstack/form-core` and returned from `useForm`
12
*/
13
-interface ReactFormApi<
+export interface ReactFormApi<
14
TFormData,
15
TFormValidator extends Validator<TFormData, unknown> | undefined = undefined,
16
> {
0 commit comments