Skip to content

Commit

Permalink
update changesets for release
Browse files Browse the repository at this point in the history
  • Loading branch information
chaance committed Jul 30, 2022
1 parent bb355be commit af59664
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .changeset/chilled-ants-care.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"@remix-run/dev": patch
---

fix(remix-dev): Remove logical nullish assignment which is incompatible with Node v14.
Remove logical nullish assignment, which is incompatible with Node v14.
6 changes: 1 addition & 5 deletions .changeset/nervous-walls-sing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,4 @@
"@remix-run/react": patch
---

Fix inferred types for `useLoaderData` and `useActionData` to preserve `null`s.

Previously, `null`s were being replaced by `never`s due to usage of `NonNullable` in `UndefinedOptionals`.
Properties that aren't unions with `undefined` are now kept as-is, while properties that _do_ include `undefined`
are still made optional, but _only_ remove `undefined` from the property type whereas `NonNullable` also removed `null`s.
Fix inferred types for `useLoaderData` and `useActionData` to preserve `null`s. Previously, `null` types were being replaced by `never` due to usage of `NonNullable` in `UndefinedOptionals`. Properties that aren't unions with `undefined` are now kept as-is, while properties that _do_ include `undefined` are still made optional, but _only_ remove `undefined` from the property type whereas `NonNullable` also removed `null` types.

0 comments on commit af59664

Please sign in to comment.