Rule: no-angle-bracket-type-assertion
Requires the use of as Type for type assertions instead of <Type>.
Rationale
Both formats of type assertions have the same effect, but only as type assertions
work in .tsx files. This rule ensures that you have a consistent type assertion style
across your codebase.
Notes:
TS Only
Has Fixer
Config
Not configurable.
Config examples
"no-angle-bracket-type-assertion": true
Schema
null