bun-types 1.3.6-canary.20260110T140659 → 1.3.6-canary.20260112T140924
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/s3.d.ts +4 -4
package/package.json
CHANGED
package/s3.d.ts
CHANGED
|
@@ -11,9 +11,9 @@ declare module "bun" {
|
|
|
11
11
|
* If the file descriptor is not writable yet, the data is buffered.
|
|
12
12
|
*
|
|
13
13
|
* @param chunk The data to write
|
|
14
|
-
* @returns Number of bytes written
|
|
14
|
+
* @returns Number of bytes written or, if the write is pending, a Promise resolving to the number of bytes
|
|
15
15
|
*/
|
|
16
|
-
write(chunk: string | ArrayBufferView | ArrayBuffer | SharedArrayBuffer): number
|
|
16
|
+
write(chunk: string | ArrayBufferView | ArrayBuffer | SharedArrayBuffer): number | Promise<number>;
|
|
17
17
|
/**
|
|
18
18
|
* Flush the internal buffer, committing the data to disk or the pipe.
|
|
19
19
|
*
|
|
@@ -78,9 +78,9 @@ declare module "bun" {
|
|
|
78
78
|
* If the network is not writable yet, the data is buffered.
|
|
79
79
|
*
|
|
80
80
|
* @param chunk The data to write
|
|
81
|
-
* @returns Number of bytes written
|
|
81
|
+
* @returns Number of bytes written or, if the write is pending, a Promise resolving to the number of bytes
|
|
82
82
|
*/
|
|
83
|
-
write(chunk: string | ArrayBufferView | ArrayBuffer | SharedArrayBuffer): number
|
|
83
|
+
write(chunk: string | ArrayBufferView | ArrayBuffer | SharedArrayBuffer): number | Promise<number>;
|
|
84
84
|
/**
|
|
85
85
|
* Flush the internal buffer, committing the data to the network.
|
|
86
86
|
*
|