mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
8ae17026cb
This commit adds new "deno check" subcommand. Currently it is an alias for "deno cache" with the difference that remote modules don't emit TS diagnostics by default. Prints warning for "deno run" subcommand if "--check" flag is not present and there's no "--no-check" flag. Adds "DENO_FUTURE_CHECK" env variable that allows to opt into new behavior now.
4 lines
162 B
Text
4 lines
162 B
Text
error: TS2322 [ERROR]: Type '12' is not assignable to type '"a"'.
|
|
export const a: "a" = 12;
|
|
^
|
|
at http://localhost:4545/subdir/type_error.ts:1:14
|