Skip to content

Commit

Permalink
docs: fix generics usage errors
Browse files Browse the repository at this point in the history
  • Loading branch information
crutchcorn committed Mar 3, 2025
1 parent 72b4572 commit d81e8c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/framework/react/guides/basic-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ You can create options for your form so that it can be shared between multiple f
Example:

```tsx
const formOpts = formOptions<Person>({
const formOpts = formOptions({
defaultValues: {
firstName: '',
lastName: '',
hobbies: [],
},
} as Person,
})
```

Expand Down
4 changes: 2 additions & 2 deletions docs/framework/solid/guides/basic-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ You can create options for your form so that it can be shared between multiple f
Example:

```tsx
const formOpts = formOptions<Person>({
const formOpts = formOptions({
defaultValues: {
firstName: '',
lastName: '',
hobbies: [],
},
} as Person,
})
```

Expand Down

0 comments on commit d81e8c6

Please sign in to comment.