aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/api/file-io.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api/file-io.md b/docs/api/file-io.md
index 713bee9b7..4c432300e 100644
--- a/docs/api/file-io.md
+++ b/docs/api/file-io.md
@@ -45,7 +45,7 @@ The default MIME type is `text/plain;charset=utf-8`, but it can be overridden by
```ts
const notreal = Bun.file("notreal.json", { type: "application/json" });
-notreal.type; // => "text/plain;charset=utf-8"
+notreal.type; // => "application/json;charset=utf-8"
```
For convenience, Bun exposes `stdin`, `stdout` and `stderr` as instances of `BunFile`.