Skip to content

Commit

Permalink
Use module export syntax (cloudflare#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
penalosa authored Oct 5, 2022
1 parent 4a10f68 commit 909dee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker-typescript/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const worker = {
export default {
async fetch(request: Request) {
return new Response(`request method: ${request.method}`);
},
Expand Down

0 comments on commit 909dee1

Please sign in to comment.