deno/cli/tests/testdata/install/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

7 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);