Open lucacasonato opened 1 month ago
Same issue with:
void
This is by design. Certain diagnostics are only surfaced when transpiling:
> deno run main.ts
error: Expression expected at file:///V:/scratch/main.ts:1:1
+
~
The main reason for this issue was resolved in https://github.com/denoland/deno/pull/24620
Maybe we should close this one?
Create a file
main.ts
.Then run
deno info main.ts
No diagnostic is raised.
Change the file to:
Running
deno info main.ts
now: