summaryrefslogtreecommitdiff
path: root/cli/js/web/streams/transform_stream_default_controller.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/web/streams/transform_stream_default_controller.ts
parent9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff)
Use dprint for internal formatting (#6682)
Diffstat (limited to 'cli/js/web/streams/transform_stream_default_controller.ts')
-rw-r--r--cli/js/web/streams/transform_stream_default_controller.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/cli/js/web/streams/transform_stream_default_controller.ts b/cli/js/web/streams/transform_stream_default_controller.ts
index 22087fb0b..54f1e9f2d 100644
--- a/cli/js/web/streams/transform_stream_default_controller.ts
+++ b/cli/js/web/streams/transform_stream_default_controller.ts
@@ -24,7 +24,7 @@ export class TransformStreamDefaultControllerImpl<I = any, O = any>
private constructor() {
throw new TypeError(
- "TransformStreamDefaultController's constructor cannot be called."
+ "TransformStreamDefaultController's constructor cannot be called.",
);
}
@@ -36,7 +36,7 @@ export class TransformStreamDefaultControllerImpl<I = any, O = any>
sym.readable
][sym.readableStreamController];
return readableStreamDefaultControllerGetDesiredSize(
- readableController as ReadableStreamDefaultControllerImpl<O>
+ readableController as ReadableStreamDefaultControllerImpl<O>,
);
}
@@ -63,13 +63,13 @@ export class TransformStreamDefaultControllerImpl<I = any, O = any>
}
[customInspect](): string {
- return `${this.constructor.name} { desiredSize: ${String(
- this.desiredSize
- )} }`;
+ return `${this.constructor.name} { desiredSize: ${
+ String(this.desiredSize)
+ } }`;
}
}
setFunctionName(
TransformStreamDefaultControllerImpl,
- "TransformStreamDefaultController"
+ "TransformStreamDefaultController",
);