Typescript types for fetch in module syntax

I'm migrating a worker to module syntax in a typescript project. What are the types of request and context? I know env is my own interface.

export default {
  fetch(request: ???, env: MyEnv, context: ???) {
    return new Response('Hello');
  },
};
`
Was this page helpful?