diff --git a/templates/cloudflare-workers/load-context.ts b/templates/cloudflare-workers/load-context.ts index c2fd61a7741..ee718146edb 100644 --- a/templates/cloudflare-workers/load-context.ts +++ b/templates/cloudflare-workers/load-context.ts @@ -4,11 +4,11 @@ type GetLoadContextArgs = { request: Request; context: { cloudflare: Omit, "dispose" | "caches" | "cf"> & { - caches: PlatformProxy['caches'] | CacheStorage; - cf: Request['cf']; + caches: PlatformProxy["caches"] | CacheStorage; + cf: Request["cf"]; }; }; -} +}; declare module "@remix-run/cloudflare" { // eslint-disable-next-line @typescript-eslint/no-empty-interface diff --git a/templates/cloudflare-workers/server.ts b/templates/cloudflare-workers/server.ts index b9b24d599f6..74391ee274a 100644 --- a/templates/cloudflare-workers/server.ts +++ b/templates/cloudflare-workers/server.ts @@ -26,7 +26,7 @@ export default { caches, env, }, - } + }, }); return await handleRemixRequest(request, loadContext); } catch (error) {