aboutsummaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/http.md2
-rw-r--r--docs/api/spawn.md2
-rw-r--r--docs/api/transpiler.md2
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/api/http.md b/docs/api/http.md
index 838c73516..1ef0302cb 100644
--- a/docs/api/http.md
+++ b/docs/api/http.md
@@ -1,5 +1,5 @@
{% callout %}
-**Note** — This page documents the `Bun.serve` API. This API is heavily optimized and represents the recommended way to build HTTP servers in Bun. Existing Node.js projectes may use Bun's [nearly complete](/docs/runtime/nodejs#node_http) implementation of the Node.js [`http`](https://nodejs.org/api/http.html) and [`https`](https://nodejs.org/api/https.html) modules.
+**Note** — This page documents the `Bun.serve` API. This API is heavily optimized and represents the recommended way to build HTTP servers in Bun. Existing Node.js projects may use Bun's [nearly complete](/docs/runtime/nodejs#node_http) implementation of the Node.js [`http`](https://nodejs.org/api/http.html) and [`https`](https://nodejs.org/api/https.html) modules.
{% /callout %}
## Send a request
diff --git a/docs/api/spawn.md b/docs/api/spawn.md
index 876a0577d..3b7c055e8 100644
--- a/docs/api/spawn.md
+++ b/docs/api/spawn.md
@@ -8,7 +8,7 @@ Provide a command as an array of strings. The result of `Bun.spawn()` is a `Bun.
Bun.spawn(["echo", "hello"]);
```
-The second argument to `Bun.spawn` is a parameters object that can be used ton configure the subprocess.
+The second argument to `Bun.spawn` is a parameters object that can be used to configure the subprocess.
```ts
const proc = Bun.spawn(["echo", "hello"], {
diff --git a/docs/api/transpiler.md b/docs/api/transpiler.md
index 184007212..44196a99c 100644
--- a/docs/api/transpiler.md
+++ b/docs/api/transpiler.md
@@ -83,7 +83,7 @@ If your code uses a macro, it will potentially spawn a new copy of Bun's JavaScr
## `.scan()`
-The `Transpiler` instance can also scan some source code and return a list of its imports and exports, plus additional metadata about each one. [Type-only](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html#type-only-imports-and-export)imports and exports are ignored.
+The `Transpiler` instance can also scan some source code and return a list of its imports and exports, plus additional metadata about each one. [Type-only](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html#type-only-imports-and-export) imports and exports are ignored.
{% codetabs %}