aboutsummaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/file-io.md2
-rw-r--r--docs/api/spawn.md4
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/api/file-io.md b/docs/api/file-io.md
index 4c432300e..35d639422 100644
--- a/docs/api/file-io.md
+++ b/docs/api/file-io.md
@@ -233,7 +233,7 @@ interface Bun {
file(path: string | number | URL, options?: { type?: string }): BunFile;
write(
- destination: string | number | FileBlob | URL,
+ destination: string | number | BunFile | URL,
input: string | Blob | ArrayBuffer | SharedArrayBuffer | TypedArray | Response,
): Promise<number>;
}
diff --git a/docs/api/spawn.md b/docs/api/spawn.md
index 024f7cf1b..100969aa3 100644
--- a/docs/api/spawn.md
+++ b/docs/api/spawn.md
@@ -259,7 +259,7 @@ namespace SpawnOptions {
| "ignore"
| null // equivalent to "ignore"
| undefined // to use default
- | FileBlob
+ | BunFile
| ArrayBufferView
| number;
@@ -269,7 +269,7 @@ namespace SpawnOptions {
| "ignore"
| null // equivalent to "ignore"
| undefined // to use default
- | FileBlob
+ | BunFile
| ArrayBufferView
| number
| ReadableStream