diff --git a/packages/remix-server-runtime/single-fetch.ts b/packages/remix-server-runtime/single-fetch.ts index e9298122a7b..bbe42a1cac7 100644 --- a/packages/remix-server-runtime/single-fetch.ts +++ b/packages/remix-server-runtime/single-fetch.ts @@ -377,7 +377,7 @@ type DataFunctionReturnValue = export type Serialize = Awaited> extends TypedDeferredData ? D : Awaited> extends TypedResponse> ? SerializeFrom : - Awaited> extends DataWithResponseInit ? D : + Awaited> extends DataWithResponseInit | Serializable ? D : Awaited>; export type Loader = (