diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-07-13 19:29:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-13 23:29:51 +0000 |
commit | b03d82e5d34ed11185fd3b9ce4db7bb838c65658 (patch) | |
tree | ea4d490606168f6bd91f89e16b970b4b3a37ae19 /runtime/js/90_deno_ns.js | |
parent | 8465bd0037acbaac0c7dfab6a8c6dbf47539934e (diff) |
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.
Diffstat (limited to 'runtime/js/90_deno_ns.js')
-rw-r--r-- | runtime/js/90_deno_ns.js | 1 |
1 files changed, 1 insertions, 0 deletions
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, |