With the aim of helping us making everything more function, we add rule prefer-const.
The rule prevents unnecessary mutable variable when the variable is not reassigned. Note that we use it only in Typescript files because the svelte files require prop and variable declarations to be mutable.
With the aim of helping us making everything more function, we add rule prefer-const.
The rule prevents unnecessary mutable variable when the variable is not reassigned. Note that we use it only in Typescript files because the
svelte
files require prop and variable declarations to be mutable.