Closed rosen-vladimirov closed 7 years ago
Enable prefer-const rule in tslint and fix the errors: The rule requires that variable declarations use const instead of let and var if possible.
prefer-const
If a variable is only assigned to once when it is declared, it should be declared using const
const
The prefer-const rule checks the code and verifies the usage of let and const
Enable
prefer-const
rule in tslint and fix the errors: The rule requires that variable declarations use const instead of let and var if possible.If a variable is only assigned to once when it is declared, it should be declared using
const
The prefer-const rule checks the code and verifies the usage of let and const