summaryrefslogtreecommitdiff
path: root/cli/tsc/dts/lib.deno.unstable.d.ts
diff options
context:
space:
mode:
authorYusuke Tanaka <yusuktan@maguro.dev>2024-09-18 15:38:21 +0900
committerGitHub <noreply@github.com>2024-09-17 23:38:21 -0700
commitf88a9e746744258ead3cc7a205644c18da5bab60 (patch)
tree1a82c286f69db1432cf2a354f82a69b425206b73 /cli/tsc/dts/lib.deno.unstable.d.ts
parentd5c00ef50e6519fccde54a577e038f0ebb1282e9 (diff)
fix(dts): stabilize `fetch` declaration for use with `Deno.HttpClient` (#25683)
This commit stabilizes the `fetch` function declaration for use with `Deno.HttpClient` and moves it from `lib.deno.unstable.d.ts` to `lib.deno.shared_globals.d.ts`. `Deno.HttpClient` was stabilized in #25569, but the associated override declaration for `fetch` is still marked as experimental. This should also be stabilized now and moved to a different d.ts file.
Diffstat (limited to 'cli/tsc/dts/lib.deno.unstable.d.ts')
-rw-r--r--cli/tsc/dts/lib.deno.unstable.d.ts15
1 files changed, 0 insertions, 15 deletions
diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts
index 34531ef39..3a3bf037b 100644
--- a/cli/tsc/dts/lib.deno.unstable.d.ts
+++ b/cli/tsc/dts/lib.deno.unstable.d.ts
@@ -1218,21 +1218,6 @@ declare namespace Deno {
/** **UNSTABLE**: New API, yet to be vetted.
*
- * The [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API)
- * which also supports setting a {@linkcode Deno.HttpClient} which provides a
- * way to connect via proxies and use custom TLS certificates.
- *
- * @tags allow-net, allow-read
- * @category Fetch
- * @experimental
- */
-declare function fetch(
- input: Request | URL | string,
- init?: RequestInit & { client: Deno.HttpClient },
-): Promise<Response>;
-
-/** **UNSTABLE**: New API, yet to be vetted.
- *
* @category Workers
* @experimental
*/