Skip to content

Commit

Permalink
fix(remix-node): export JsonFunction as type instead of as value (#…
Browse files Browse the repository at this point in the history
…5204)

Co-authored-by: Pedro Cattori <[email protected]>
  • Loading branch information
machour and pcattori authored Jan 23, 2023
1 parent ec3f3aa commit 57f41c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/old-rice-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"remix": patch
"@remix-run/node": patch
---

Export `JsonFunction` as a type in `@remix-run/node`
2 changes: 1 addition & 1 deletion packages/remix-node/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ export {
isCookie,
isSession,
json,
JsonFunction,
MaxPartSizeExceededError,
redirect,
unstable_composeUploadHandlers,
Expand All @@ -69,6 +68,7 @@ export type {
HtmlLinkDescriptor,
HtmlMetaDescriptor,
V2_HtmlMetaDescriptor,
JsonFunction,
LinkDescriptor,
LinksFunction,
LoaderArgs,
Expand Down

0 comments on commit 57f41c2

Please sign in to comment.