summaryrefslogtreecommitdiff
path: root/cli/js/io.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2020-07-14 15:24:17 -0400
committerGitHub <noreply@github.com>2020-07-14 15:24:17 -0400
commitcde4dbb35132848ffece59ef9cfaccff32347124 (patch)
treecc7830968c6decde704c8cfb83c9185193dc698f /cli/js/io.ts
parent9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff)
Use dprint for internal formatting (#6682)
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);