diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts index 3a6315d509..5b1d935ceb 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 }); * ``` */