I am getting below error in all my .ts/.tsx files after running "npm run lint". I am very new to react and fixing lint error for the first time.
I found few solutions on stackoverflow for es2021. But didn't found anything for es2022.
npm version - 6.12.1 Node version - 12.13.1 typescript version - 4.3.5