From 45c49034a7ea20f27287cd8559ea050d8973bfae Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Mon, 18 Jul 2022 14:16:12 +0100 Subject: BREAKING(unstable): Improve Deno.spawn() stdio API (#14919) - "SpawnOutput" extends "ChildStatus" instead of composing it - "SpawnOutput::stdout", "SpawnOutput::stderr", "Child::stdin", "Child::stdout" and "Child::stderr" are no longer optional, instead made them getters that throw at runtime if that stream wasn't set to "piped". - Remove the complicated "" which we currently need to give proper type hints for the availability of these fields. Their typings for these would get increasingly complex if it became dependent on more options (e.g. "SpawnOptions::pty" which if set should make the stdio streams unavailable) --- test_util/std | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test_util') diff --git a/test_util/std b/test_util/std index 2e180b039..ec1137421 160000 --- a/test_util/std +++ b/test_util/std @@ -1 +1 @@ -Subproject commit 2e180b039369a06d46adf506142b597c7ea28f35 +Subproject commit ec11374217b94e8d0ca604e669faabe5ade5d9a4 -- cgit v1.2.3