summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/run/unstable_disabled.out
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-07-13 19:29:51 -0400
committerGitHub <noreply@github.com>2023-07-13 23:29:51 +0000
commitb03d82e5d34ed11185fd3b9ce4db7bb838c65658 (patch)
treeea4d490606168f6bd91f89e16b970b4b3a37ae19 /cli/tests/testdata/run/unstable_disabled.out
parent8465bd0037acbaac0c7dfab6a8c6dbf47539934e (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 'cli/tests/testdata/run/unstable_disabled.out')
-rw-r--r--cli/tests/testdata/run/unstable_disabled.out2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/testdata/run/unstable_disabled.out b/cli/tests/testdata/run/unstable_disabled.out
index f3de913e6..fb8d3ee05 100644
--- a/cli/tests/testdata/run/unstable_disabled.out
+++ b/cli/tests/testdata/run/unstable_disabled.out
@@ -1,5 +1,5 @@
[WILDCARD]
-error: TS2339 [ERROR]: Property 'umask' does not exist on type 'typeof Deno'. 'Deno.umask' is an unstable API. Did you forget to run with the '--unstable' flag?
+error: TS2339 [ERROR]: Property 'umask' does not exist on type 'typeof Deno'. 'Deno.umask' is an unstable API. Did you forget to run with the '--unstable' flag? If not, try changing the 'lib' compiler option to include 'deno.unstable' or add a triple-slash directive to your entrypoint: /// <reference lib="deno.unstable" />
console.log(Deno.umask);
~~~~~
at [WILDCARD]/unstable.ts:1:18