dan.the.discloserD
Denoβ€’4y agoβ€’
3 replies
dan.the.discloser

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



I put the file in /tmp. There are not config files there.


% deno lint a.ts
Checked 1 file
deno run a.ts
NaN
Was this page helpful?