summaryrefslogtreecommitdiff
path: root/cli/js/process.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/process.ts
parent9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff)
Use dprint for internal formatting (#6682)
Diffstat (limited to 'cli/js/process.ts')
-rw-r--r--cli/js/process.ts9
1 files changed, 3 insertions, 6 deletions
diff --git a/cli/js/process.ts b/cli/js/process.ts
index ee32eac3d..0844dd8fd 100644
--- a/cli/js/process.ts
+++ b/cli/js/process.ts
@@ -33,14 +33,11 @@ async function runStatus(rid: number): Promise<ProcessStatus> {
export class Process<T extends RunOptions = RunOptions> {
readonly rid: number;
readonly pid: number;
- readonly stdin!: T["stdin"] extends "piped"
- ? Writer & Closer
+ readonly stdin!: T["stdin"] extends "piped" ? Writer & Closer
: (Writer & Closer) | null;
- readonly stdout!: T["stdout"] extends "piped"
- ? Reader & Closer
+ readonly stdout!: T["stdout"] extends "piped" ? Reader & Closer
: (Reader & Closer) | null;
- readonly stderr!: T["stderr"] extends "piped"
- ? Reader & Closer
+ readonly stderr!: T["stderr"] extends "piped" ? Reader & Closer
: (Reader & Closer) | null;
// @internal