Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
remix-run-bot committed Oct 31, 2024
1 parent 04abe37 commit a594569
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions templates/cloudflare-workers/load-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ type GetLoadContextArgs = {
request: Request;
context: {
cloudflare: Omit<PlatformProxy<Env>, "dispose" | "caches" | "cf"> & {
caches: PlatformProxy<Env>['caches'] | CacheStorage;
cf: Request['cf'];
caches: PlatformProxy<Env>["caches"] | CacheStorage;
cf: Request["cf"];
};
};
}
};

declare module "@remix-run/cloudflare" {
// eslint-disable-next-line @typescript-eslint/no-empty-interface
Expand Down
2 changes: 1 addition & 1 deletion templates/cloudflare-workers/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default {
caches,
env,
},
}
},
});
return await handleRemixRequest(request, loadContext);
} catch (error) {
Expand Down

0 comments on commit a594569

Please sign in to comment.