diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2023-08-01 11:27:25 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-01 15:27:25 +0000 |
| commit | b563746885f8548676953536987012012b08646d (patch) | |
| tree | 955f0a18380196463a46ec1d6197bde1132e5115 /cli/tests/testdata/run/unstable_disabled.out | |
| parent | 5df2b0b4dc17cdccaada24ab3993c8983cabc925 (diff) | |
fix: deno diagnostic - clarify where to put triple-slash directive (#20009)
Some people might not know what "entrypoint" means or where to put the
triple-slash directive.
Diffstat (limited to 'cli/tests/testdata/run/unstable_disabled.out')
| -rw-r--r-- | cli/tests/testdata/run/unstable_disabled.out | 2 |
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 fb8d3ee05..cf78e8ffc 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? 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" /> +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 the top of your entrypoint (main file): /// <reference lib="deno.unstable" /> console.log(Deno.umask); ~~~~~ at [WILDCARD]/unstable.ts:1:18 |
