How to disallow implicit any?

Viewed 20846

I am using TSLint with "no-any": true, "no-unsafe-any": true. It disallow:

let foo: any;

However it still allows:

let foo;

How to turn on the rule for implicit any?

1 Answers
Related