You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
childProcess.all is currently always typed as Readable | undefined.
We could make the types stricter to make it either Readable or undefined depending on Execa's arguments. Namely, it should be undefined only if either:
the all option is false (the default value)
both the stdout and stderr option is inherit, ipc, ignore, a Node.js stream or an integer. Or an array with a single item with one of those values.
The text was updated successfully, but these errors were encountered:
childProcess.all
is currently always typed asReadable | undefined
.We could make the types stricter to make it either
Readable
orundefined
depending on Execa's arguments. Namely, it should beundefined
only if either:all
option isfalse
(the default value)stdout
andstderr
option isinherit
,ipc
,ignore
, a Node.js stream or an integer. Or an array with a single item with one of those values.The text was updated successfully, but these errors were encountered: