Skip to content

Commit

Permalink
fix: FormValue should never be null (edmundhung#719)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronadamsCA authored Sep 10, 2024
1 parent 3b8abb4 commit ccf0ef4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/chilled-dingos-sniff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@conform-to/dom": patch
---

fix: FormValue should never be null
1 change: 0 additions & 1 deletion packages/conform-dom/form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ export type FormValue<Schema> = Schema extends
: Schema extends Record<string, any>
?
| { [Key in keyof Schema]?: FormValue<Schema[Key]> }
| null
| undefined
: unknown;

Expand Down

0 comments on commit ccf0ef4

Please sign in to comment.