Rule: no-unnecessary-type-assertion
Warns if a type assertion does not change the type of an expression.
Notes:
Config
A list of whitelisted assertion types to ignore
Config examples
Schema
{
"type": "list",
"listType": {
"type": "array",
"items": {
"type": "string"
}
}
}