diff --git a/src/content/docs/en/guides/integrations-guide/cloudflare.mdx b/src/content/docs/en/guides/integrations-guide/cloudflare.mdx index 8747da9301388..d6b06413ca543 100644 --- a/src/content/docs/en/guides/integrations-guide/cloudflare.mdx +++ b/src/content/docs/en/guides/integrations-guide/cloudflare.mdx @@ -251,7 +251,7 @@ export default defineConfig({ ### `workerEntryPoint`

-**Type:** `{path: string | URL, namedExports: string[]}`
+**Type:** `{ path: string | URL, namedExports: string[] }`
**Default:** `{ path: '@astrojs/cloudflare/entrypoints/server.js', namedExports: [] }`

@@ -301,7 +301,7 @@ To support other [Cloudflare invocation handlers](https://developers.cloudflare. An array of named exports to use for the entry file. -Provide any additional defined named exports of your [custom entry file](#creating-a-custom-cloudflare-worker-entry-file) (e.g. `DurableObjects`). If not provided, only default exports will be included. +Provide any additional defined named exports of your [custom entry file](#creating-a-custom-cloudflare-worker-entry-file) (e.g. `DurableObject`). If not provided, only default exports will be included. #### Creating a custom Cloudflare Worker entry file @@ -311,7 +311,6 @@ The following example entry file registers a Durable Object and a queue handler: ```ts title="src/worker.ts" import type { SSRManifest } from 'astro'; - import { App } from 'astro/app'; import { handle } from '@astrojs/cloudflare/handler' import { DurableObject } from 'cloudflare:workers';