1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-05 13:59:01 -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 Bartek Iwańczuk
parent e64bf10d2b
commit 91998b539b
No known key found for this signature in database
GPG key ID: 0C6BCDDC3B3AD750

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`. */