Today, I configured the next eslint. There was an error report, which made me neither know how to modify nor how to turn off the relevant inspection of eslint. I was very distressed. I pondered for a while and recorded it. After all, I just used a for loop. It’s not fun not to use it
Error reporting location
Error reporting reason
Angle bracket type assertions are used earlier, which is probably because eslint is not suitable for ts
Error modification
Replace angle bracket type assertion with as type assertion
No more error reporting