mirror of
https://github.com/LukeHagar/form.git
synced 2025-12-07 12:27:45 +00:00
fix: refactor to flat generics with consistent names & patterns
This commit is contained in:
@@ -11,7 +11,7 @@ declare module '@tanstack/form-core' {
|
||||
// eslint-disable-next-line no-shadow
|
||||
interface FormApi<TFormData> {
|
||||
Provider: (props: { children: any }) => any
|
||||
Field: FieldComponent<TFormData, TFormData>
|
||||
Field: FieldComponent<TFormData>
|
||||
useField: UseField<TFormData>
|
||||
useStore: <TSelected = NoInfer<FormState<TFormData>>>(
|
||||
selector?: (state: NoInfer<FormState<TFormData>>) => TSelected,
|
||||
|
||||
Reference in New Issue
Block a user