We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 46f8e25 + 584b000 commit 6188ed0Copy full SHA for 6188ed0
src/ChildProcess.res
@@ -54,11 +54,11 @@ include Events
54
@get external pid: t => int = "pid"
55
@get external ref: t => unit = "ref"
56
@get @return(nullable)
57
-external stderr: t => option<Stream.Writable.t<Buffer.t>> = "stderr"
+external stderr: t => option<Stream.Readable.t<Buffer.t>> = "stderr"
58
59
-external stdin: t => option<Stream.Readable.t<Buffer.t>> = "stdin"
+external stdin: t => option<Stream.Writable.t<Buffer.t>> = "stdin"
60
61
-external stdout: t => option<Stream.Writable.t<Buffer.t>> = "stdout"
+external stdout: t => option<Stream.Readable.t<Buffer.t>> = "stdout"
62
@get external unref: t => unit = "unref"
63
64
type execOptions
0 commit comments