short answer: a combo of both provides the best DX. ```ts export default { async fetch(request,

short answer: a combo of both provides the best DX.
export default {
    async fetch(request, env, ctx): Promise<Response> {
        // do things
    },
} satisfies ExportedHandler<Env>;

long answer: https://github.com/cloudflare/cloudflare-docs/pull/14007
Was this page helpful?