From b03d82e5d34ed11185fd3b9ce4db7bb838c65658 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 13 Jul 2023 19:29:51 -0400 Subject: fix(tsc): more informative diagnostic when `Deno` does not exist (#19825) Also improved the diagnostic when using something like `Deno.openKv` and it doesn't exist. --- runtime/js/90_deno_ns.js | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/js/90_deno_ns.js') diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js index ffa4bf529..00c6d6b47 100644 --- a/runtime/js/90_deno_ns.js +++ b/runtime/js/90_deno_ns.js @@ -152,6 +152,7 @@ const denoNs = { ChildProcess: process.ChildProcess, }; +// when editing this list, also update unstableDenoProps in cli/tsc/99_main_compiler.js const denoNsUnstable = { listenDatagram: net.createListenDatagram( ops.op_net_listen_udp, -- cgit v1.2.3