diff options
author | 2023-04-07 04:03:06 -0700 | |
---|---|---|
committer | 2023-04-07 04:03:06 -0700 | |
commit | c8e09f563fcbc98552ef696ac70ee953bb0b9ec5 (patch) | |
tree | 06dc3fdd693e9bfa982f5a842ab114f28f2372a8 /docs/api/file-io.md | |
parent | 6baedd27bc6f0f271249a5b332d3212254909141 (diff) | |
download | bun-c8e09f563fcbc98552ef696ac70ee953bb0b9ec5.tar.gz bun-c8e09f563fcbc98552ef696ac70ee953bb0b9ec5.tar.zst bun-c8e09f563fcbc98552ef696ac70ee953bb0b9ec5.zip |
`FileBlob` -> `BunFile`, add `BunFile.lastModified` (#2581)
* Improve BunPlugin types
* FileBlob -> BunFile
* Update Bun.env types. Fixes #2481
* Add lastModified to BunFile
Diffstat (limited to 'docs/api/file-io.md')
-rw-r--r-- | docs/api/file-io.md | 2 |
1 files changed, 1 insertions, 1 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>; } |