?? lint doesn't seem to catch type errors ??

why am not getting a type checking error?
let aaa: string = 151;

aaa = aaa[3];

console.log(aaa + 9);
let aaa: string = 151;

aaa = aaa[3];

console.log(aaa + 9);
I put the file in /tmp. There are not config files there. % deno lint a.ts Checked 1 file deno run a.ts NaN
2 Replies
crowlKats
crowlKats2y ago
lint is just linting, not type-checking for that, you use deno check
dan.the.discloser
Thank you!