diff --git a/packages/remix-server-runtime/serialize.ts b/packages/remix-server-runtime/serialize.ts index 7791d4c0bb3..f66f315469c 100644 --- a/packages/remix-server-runtime/serialize.ts +++ b/packages/remix-server-runtime/serialize.ts @@ -24,7 +24,7 @@ type SingleFetchEnabled = */ export type SerializeFrom = SingleFetchEnabled extends true ? - T extends (...args: []) => unknown ? + T extends (...args: any[]) => unknown ? SingleFetch_SerializeFrom : never :