Skip to content

Commit

Permalink
add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
pcattori committed Oct 10, 2023
1 parent 7084a1e commit 7a4add3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .changeset/stale-apples-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@remix-run/react": patch
"@remix-run/server-runtime": patch
---

Emulate types for `JSON.parse(JSON.stringify(x))` in `SerializeFrom`

Notably, type fields that are only assignable to `undefined` after serialization are now omitted since
`JSON.stringify |> JSON.parse` will omit them. See test cases for examples.

Also fixes type errors when upgrading to v2 from 1.19

0 comments on commit 7a4add3

Please sign in to comment.