Parsing error: Invalid value for lib provided: es2022.string | typescript

827 Views Asked by At

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.

enter image description here

npm version - 6.12.1 Node version - 12.13.1 typescript version - 4.3.5

0

There are 0 best solutions below