From addfb0c546f3cd911514591a91a9eef2ce5e3cec Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Sun, 21 May 2023 21:52:45 +0200 Subject: fix(ci): simplify test assertion for http version enforcing with Deno.createHttpClient (#19210) --- cli/tsc/dts/lib.deno.unstable.d.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'cli/tsc/dts/lib.deno.unstable.d.ts') diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts index 8681cbd9b..27d3af4cd 100644 --- a/cli/tsc/dts/lib.deno.unstable.d.ts +++ b/cli/tsc/dts/lib.deno.unstable.d.ts @@ -826,9 +826,16 @@ declare namespace Deno { /** Set an optional timeout for idle sockets being kept-alive. * Set to false to disable the timeout. */ poolIdleTimeout?: number | false; - /** Whether HTTP/1.1 is allowed or not. */ + /** + * Whether HTTP/1.1 is allowed or not. + * + * @default {true} + */ http1?: boolean; - /** Whether HTTP/2 is allowed or not. */ + /** Whether HTTP/2 is allowed or not. + * + * @default {true} + */ http2?: boolean; } -- cgit v1.2.3