1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00

fix(types/unstable): change interface base for CommandOutput (#16696)

extend from `CommandStatus` instead of `ChildStatus`. Resolves #16680.
This commit is contained in:
Jesse Jackson 2022-11-18 08:20:07 -06:00 committed by GitHub
parent 5867a12920
commit 221d1916c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1805,7 +1805,7 @@ declare namespace Deno {
*
* @category Sub Process
*/
export interface CommandOutput extends ChildStatus {
export interface CommandOutput extends CommandStatus {
/** The buffered output from the child process' `stdout`. */
readonly stdout: Uint8Array;
/** The buffered output from the child process' `stderr`. */