docs: fix typo (#18609)

This commit is contained in:
Nozomu Ikuta 2024-11-07 20:34:48 +09:00 committed by GitHub
parent f239f27125
commit 326ee45b44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ Please share with us your feedback as you test the proposal.
Environments factories are intended to be implemented by Environment providers like Cloudflare, and not by end users. Environment factories return a `EnvironmentOptions` for the most common case of using the target runtime for both dev and build environments. The default environment options can also be set so the user doesn't need to do it.
```ts
function createWorkedEnvironment(
function createWorkerdEnvironment(
userConfig: EnvironmentOptions,
): EnvironmentOptions {
return mergeConfig(