diff --git a/src/content/docs/workers/runtime-apis/rpc/typescript.mdx b/src/content/docs/workers/runtime-apis/rpc/typescript.mdx index 5bed5342650b2e2..066181824e472cb 100644 --- a/src/content/docs/workers/runtime-apis/rpc/typescript.mdx +++ b/src/content/docs/workers/runtime-apis/rpc/typescript.mdx @@ -28,10 +28,6 @@ For example, if your client Worker had bindings to a Worker in `../sum-worker/` } /> -:::note -Currently, this only works if your service binding targets a [named entrypoint](/workers/runtime-apis/bindings/service-bindings/rpc/#named-entrypoints), rather than the default export. If you are unable to use named entrypoints, we recommend you extend your `Env` type in a separate file in order to manually provide those types without risk of being overwritten by subsequent runs of `wrangler types`. This is a temporary limitation we are working to fix. -::: - This will produce a `worker-configuration.d.ts` file that includes: ```ts title="worker-configuration.d.ts" diff --git a/src/content/docs/workers/wrangler/commands.mdx b/src/content/docs/workers/wrangler/commands.mdx index 954136408260a1b..7362457bf3dfb25 100644 --- a/src/content/docs/workers/wrangler/commands.mdx +++ b/src/content/docs/workers/wrangler/commands.mdx @@ -1989,9 +1989,6 @@ wrangler types [] [OPTIONS] SERVICE_BINDING: Service; } ``` - :::note - Currently, this only works if your service binding targets a [named entrypoint](/workers/runtime-apis/bindings/service-bindings/rpc/#named-entrypoints), rather than the default export. If you are unable to use named entrypoints, we recommend you extend your `Env` type in a separate file in order to manually provide those types without risk of being overwritten by subsequent runs of `wrangler types`. This is a temporary limitation we are working to fix. - ::: ---