Skip to content

Commit

Permalink
Remove AppData/RouteHandle types (#7354)
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Sep 6, 2023
1 parent b1dcc25 commit 2279d7e
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
8 changes: 8 additions & 0 deletions .changeset/chilled-horses-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@remix-run/cloudflare": major
"@remix-run/deno": major
"@remix-run/node": major
"@remix-run/server-runtime": major
---

Remove `AppData`/`RouteHandle` types which are just aliases for `unknown`
2 changes: 0 additions & 2 deletions packages/remix-cloudflare/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export {
export type {
ActionFunction,
ActionFunctionArgs,
AppData,
AppLoadContext,
Cookie,
CookieOptions,
Expand All @@ -54,7 +53,6 @@ export type {
HandleErrorFunction,
PageLinkDescriptor,
RequestHandler,
RouteHandle,
SerializeFrom,
ServerBuild,
ServerEntryModule,
Expand Down
2 changes: 0 additions & 2 deletions packages/remix-deno/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export {
export type {
ActionFunction,
ActionFunctionArgs,
AppData,
AppLoadContext,
Cookie,
CookieOptions,
Expand All @@ -57,7 +56,6 @@ export type {
MemoryUploadHandlerOptions,
PageLinkDescriptor,
RequestHandler,
RouteHandle,
SerializeFrom,
ServerBuild,
ServerEntryModule,
Expand Down
2 changes: 0 additions & 2 deletions packages/remix-node/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export {
export type {
ActionFunction,
ActionFunctionArgs,
AppData,
AppLoadContext,
Cookie,
CookieOptions,
Expand All @@ -74,7 +73,6 @@ export type {
HandleErrorFunction,
PageLinkDescriptor,
RequestHandler,
RouteHandle,
SerializeFrom,
ServerBuild,
ServerEntryModule,
Expand Down
2 changes: 0 additions & 2 deletions packages/remix-server-runtime/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export type {
export type {
ActionFunction,
ActionFunctionArgs,
AppData,
AppLoadContext,
Cookie,
CookieOptions,
Expand All @@ -60,7 +59,6 @@ export type {
HandleErrorFunction,
PageLinkDescriptor,
RequestHandler,
RouteHandle,
SerializeFrom,
ServerBuild,
ServerEntryModule,
Expand Down
3 changes: 1 addition & 2 deletions packages/remix-server-runtime/reexport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export type {

export type { SignFunction, UnsignFunction } from "./crypto";

export type { AppLoadContext, AppData } from "./data";
export type { AppLoadContext } from "./data";

export type { EntryContext } from "./entry";

Expand All @@ -45,7 +45,6 @@ export type {
LinksFunction,
LoaderFunction,
LoaderFunctionArgs,
RouteHandle,
ServerRuntimeMetaArgs,
ServerRuntimeMetaDescriptor,
ServerRuntimeMetaFunction,
Expand Down

0 comments on commit 2279d7e

Please sign in to comment.