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.
1 parent 46f8e25 commit 584b000Copy full SHA for 584b000
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