Skip to content

Commit

Permalink
chore: minor types cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Cherry committed Dec 22, 2024
1 parent 518c19d commit 8e1d509
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/worker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ async function handleRequest(request: Request, env: Env, ctx: ExecutionContext)
}

export default {
fetch(request: Request, env: Env, ctx: ExecutionContext) {
fetch(request, env, ctx): Promise<Response> {
return handleRequest(request, env, ctx);
},
};
} satisfies ExportedHandler<Env>;

0 comments on commit 8e1d509

Please sign in to comment.