Skip to content

Commit 6cee9ec

Browse files
autofix-ci[bot]crutchcorn
authored andcommitted
ci: apply automated fixes and generate docs
1 parent 2467d3c commit 6cee9ec

File tree

4 files changed

+4
-16
lines changed

4 files changed

+4
-16
lines changed

docs/framework/react/reference/functions/useform.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ This API encapsulates all the necessary functionalities related to the form. It
2929

3030
## Defined in
3131

32-
[useForm.tsx:65](https://github.com/TanStack/form/blob/main/packages/react-form/src/useForm.tsx#L65)
32+
[useForm.tsx:54](https://github.com/TanStack/form/blob/main/packages/react-form/src/useForm.tsx#L54)

docs/framework/react/reference/interfaces/reactformapi.md

-12
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,6 @@ A `Subscribe` function that allows you to listen and react to changes in the for
4949

5050
**props.selector?**
5151

52-
TypeScript versions <=5.0.4 have a bug that prevents
53-
the type of the `TSelected` generic from being inferred
54-
from the return type of this method.
55-
56-
In these versions, `TSelected` will fall back to the default
57-
type (or `unknown` if that's not defined).
58-
59-
**See**
60-
61-
- [This discussion on GitHub for the details](https://github.com/TanStack/form/pull/606/files#r1506715714)
62-
- [The bug report in `microsoft/TypeScript`](https://github.com/microsoft/TypeScript/issues/52786)
63-
6452
#### Returns
6553

6654
`ReactNode`

docs/framework/react/reference/type-aliases/fieldcomponent.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ title: FieldComponent
99
type FieldComponent<TParentData, TFormValidator>: <TName, TFieldValidator, TData>({
1010
children,
1111
...fieldOptions
12-
}) => NodeType;
12+
}) => ReactNode;
1313
```
1414

1515
A type alias representing a field component for a specific form data type.
@@ -37,7 +37,7 @@ A type alias representing a field component for a specific form data type.
3737

3838
## Returns
3939

40-
`NodeType`
40+
`ReactNode`
4141

4242
## Defined in
4343

docs/framework/react/reference/type-aliases/reactformextendedapi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ An extended version of the `FormApi` class that includes React-specific function
1919

2020
## Defined in
2121

22-
[useForm.tsx:55](https://github.com/TanStack/form/blob/main/packages/react-form/src/useForm.tsx#L55)
22+
[useForm.tsx:44](https://github.com/TanStack/form/blob/main/packages/react-form/src/useForm.tsx#L44)

0 commit comments

Comments
 (0)