Open ShuiRuTian opened 1 year ago
function foo(a, _b){ }
For foo, tsc will treat _b as used, which means, if you enable config noUnusedParameters, there will be an error on a, but no error on _b.
foo
_b
noUnusedParameters
a
It might be a good choice to follow the same pattern by default.
For
foo
, tsc will treat_b
as used, which means, if you enable confignoUnusedParameters
, there will be an error ona
, but no error on_b
.It might be a good choice to follow the same pattern by default.