Ignore report for self assignment with typecast.
The following code causes the reports for arg
from original no-param-reassign
:
function func(arg) {
arg = /** @type {string} */ (arg);
}
and when props
option is set to true
:
function func(arg) {
arg.a = /** @type {string} */ (arg.a);
}
but doesn't when interfaced/no-param-reassign
is used.