summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/http.ts
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-01-23 12:19:49 +1100
committerGitHub <noreply@github.com>2024-01-23 02:19:49 +0100
commit605973159442440cea29fef4c634eac8b3c620f5 (patch)
tree0e3f15d5f048b659758dbeeb318e31839a1151c2 /ext/node/polyfills/http.ts
parentf2b0424df66c073f2129868d5d06a4e94930b1cb (diff)
refactor: set removal version for `Deno.Server` (#22024)
This change sets the removal version for the deprecated `Deno.Server` interface for Deno 2.0. Towards #22021
Diffstat (limited to 'ext/node/polyfills/http.ts')
-rw-r--r--ext/node/polyfills/http.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/polyfills/http.ts b/ext/node/polyfills/http.ts
index 2da19f7f5..92368b74f 100644
--- a/ext/node/polyfills/http.ts
+++ b/ext/node/polyfills/http.ts
@@ -1575,7 +1575,7 @@ export class ServerImpl extends EventEmitter {
#addr: Deno.NetAddr;
#hasClosed = false;
- #server: Deno.Server;
+ #server: Deno.HttpServer;
#unref = false;
#ac?: AbortController;
#serveDeferred: ReturnType<typeof Promise.withResolvers<void>>;