summaryrefslogtreecommitdiff
path: root/cli/js/io.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/io.ts')
-rw-r--r--cli/js/io.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/js/io.ts b/cli/js/io.ts
index 2686fd3cb..b2e6499b8 100644
--- a/cli/js/io.ts
+++ b/cli/js/io.ts
@@ -55,7 +55,7 @@ export async function copy(
dst: Writer,
options?: {
bufSize?: number;
- }
+ },
): Promise<number> {
let n = 0;
const bufSize = options?.bufSize ?? DEFAULT_BUFFER_SIZE;
@@ -80,7 +80,7 @@ export async function* iter(
r: Reader,
options?: {
bufSize?: number;
- }
+ },
): AsyncIterableIterator<Uint8Array> {
const bufSize = options?.bufSize ?? DEFAULT_BUFFER_SIZE;
const b = new Uint8Array(bufSize);
@@ -98,7 +98,7 @@ export function* iterSync(
r: ReaderSync,
options?: {
bufSize?: number;
- }
+ },
): IterableIterator<Uint8Array> {
const bufSize = options?.bufSize ?? DEFAULT_BUFFER_SIZE;
const b = new Uint8Array(bufSize);