mirror of
https://github.com/denoland/deno.git
synced 2025-02-08 23:31:24 -05:00
![David Sherret](/assets/img/avatar_default.png)
Also improved the diagnostic when using something like `Deno.openKv` and it doesn't exist.
4 lines
305 B
Text
4 lines
305 B
Text
error: TS2304 [ERROR]: Cannot find name 'Deno'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'deno.ns' or add a triple-slash directive to your entrypoint: /// <reference lib="deno.ns" />
|
|
Deno;
|
|
~~~~
|
|
at file:///[WILDCARD]/check/deno_not_found/main.ts:4:1
|