From 808226f1106b31e1a5755a4f66ee1c95589dac90 Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Sat, 15 May 2021 21:20:37 +0800 Subject: docs(cli/dts): remove stray new operators in examples (#10648) --- cli/dts/lib.deno.unstable.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/dts') diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts index 3a6315d50..5b1d935ce 100644 --- a/cli/dts/lib.deno.unstable.d.ts +++ b/cli/dts/lib.deno.unstable.d.ts @@ -1042,7 +1042,7 @@ declare namespace Deno { * A custom HttpClient for use with `fetch`. * * ```ts - * const client = new Deno.createHttpClient({ caData: await Deno.readTextFile("./ca.pem") }); + * const client = Deno.createHttpClient({ caData: await Deno.readTextFile("./ca.pem") }); * const req = await fetch("https://myserver.com", { client }); * ``` */ @@ -1064,7 +1064,7 @@ declare namespace Deno { * Create a custom HttpClient for to use with `fetch`. * * ```ts - * const client = new Deno.createHttpClient({ caData: await Deno.readTextFile("./ca.pem") }); + * const client = Deno.createHttpClient({ caData: await Deno.readTextFile("./ca.pem") }); * const req = await fetch("https://myserver.com", { client }); * ``` */ -- cgit v1.2.3