mirror of
https://github.com/denoland/deno.git
synced 2024-12-01 16:51:13 -05:00
533ee83fde
Also improved the diagnostic when using something like `Deno.openKv` and it doesn't exist.
5 lines
419 B
Text
5 lines
419 B
Text
[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" />
|
|
console.log(Deno.umask);
|
|
~~~~~
|
|
at [WILDCARD]/unstable.ts:1:18
|