typescript-eslint checking if all variables are assigned a data type

Viewed 537

Is there a way to check if all variables in my code have a data type assigned to them using eslint-typescript? For example, const a = 1; shouldn't be allowed and eslint should throw an error. const a:number = 1 is allowed

0 Answers
Related