diff options
-rw-r--r-- | docs/api/http.md | 2 | ||||
-rw-r--r-- | docs/api/workers.md | 4 | ||||
-rw-r--r-- | docs/cli/bun-install.md | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/docs/api/http.md b/docs/api/http.md index 629570335..cd20a9931 100644 --- a/docs/api/http.md +++ b/docs/api/http.md @@ -71,7 +71,7 @@ In development mode, Bun will surface errors in-browser with a built-in error pa {% image src="/images/exception_page.png" caption="Bun's built-in 500 page" /%} -To handle server-side errors, implement an `error` handler. This function should return a `Response` to served to the client when an error occurs. This response will supercede Bun's default error page in `development` mode. +To handle server-side errors, implement an `error` handler. This function should return a `Response` to serve to the client when an error occurs. This response will supersede Bun's default error page in `development` mode. ```ts Bun.serve({ diff --git a/docs/api/workers.md b/docs/api/workers.md index 1a4a09965..50fdb9c3d 100644 --- a/docs/api/workers.md +++ b/docs/api/workers.md @@ -130,7 +130,7 @@ const worker = new Worker(new URL("worker.ts", import.meta.url).href); worker.unref(); ``` -Note: `worker.unref()` is not available in browers. +Note: `worker.unref()` is not available in browsers. ### `worker.ref()` @@ -151,7 +151,7 @@ const worker = new Worker(new URL("worker.ts", import.meta.url).href, { }); ``` -Note: `worker.ref()` is not available in browers. +Note: `worker.ref()` is not available in browsers. ## Memory usage with `smol` diff --git a/docs/cli/bun-install.md b/docs/cli/bun-install.md index 8050070be..e705a2172 100644 --- a/docs/cli/bun-install.md +++ b/docs/cli/bun-install.md @@ -47,7 +47,7 @@ registry = "https://registry.yarnpkg.com/" # Install for production? This is the equivalent to the "--production" CLI argument production = false -# Disallow changes to lockfile? This is the equivalent to the "--fozen-lockfile" CLI argument +# Disallow changes to lockfile? This is the equivalent to the "--frozen-lockfile" CLI argument frozenLockfile = false # Don't actually install |