[TS] solutions to line 0: parsing error: cannot read property ‘map’ of undefined

I have been using typescript version 3.7.5, and then upgraded to version 4.2 again. As a result, if I run it again, I will report an error in the title. Then I return the TS version to the previous version 3.7.5, and it is solved!

Read More: