Rule: no-unnecessary-type-assertion

Warns if a type assertion does not change the type of an expression.

Notes:
TS Only Has Fixer Requires Type Info

Config

A list of whitelisted assertion types to ignore

Config examples
Schema
{
  "type": "list",
  "listType": {
    "type": "array",
    "items": {
      "type": "string"
    }
  }
}