diff --git a/src/content/docs/workers/development-testing/index.mdx b/src/content/docs/workers/development-testing/index.mdx index a44d211dc05eadb..ef444ac087ab548 100644 --- a/src/content/docs/workers/development-testing/index.mdx +++ b/src/content/docs/workers/development-testing/index.mdx @@ -364,7 +364,9 @@ This type conversion is temporary. In the future, the types will be unified so y This wrapper simplifies proxy session management. It takes: -- The path to your Wrangler config, or an object with remote bindings. +- An object that contains either: + - the path to a Wrangler configuration and a potential target environment + - the name of the Worker and the bindings it is using - The current proxy session details (this parameter can be set to `null` or not being provided if none). - Potentially the auth data to use for the remote proxy session. @@ -393,12 +395,12 @@ let remoteProxySessionDetails: Awaited