1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-04 08:54:20 -05:00
denoland-deno/cli/tests/testdata/eval/check_local_by_default2.ts
Bartek Iwańczuk 9a85a95c43
feat: subcommands type-check only local files by default (#14623)
This commit changes default mode of type-checking to "local" 
and adds "--check" flag to following subcommands:
- deno bench
- deno bundle
- deno cache
- deno compile
- deno eval
- deno install
- deno test
2022-05-17 23:53:42 +02:00

6 lines
120 B
TypeScript

import * as a from "http://localhost:4545/subdir/type_error.ts";
const b: "b" = 12;
console.log(a.a);
console.log(b);