Sorry for reviving this thread, but the problem still persists to me.
I’m using Sonar Scanner with Docker and still see the message about max supported TS version
WARN: You are using version of TypeScript 4.5.4 which is not officially supported; supported versions >=3.2.1 <3.8.0
According to this comment Sonar-scanner (TypeScript): Cannot read property 'map' of undefined - #9 by Yassin_Kammoun , TypeScript 4 is supported now.
I’m running my container like this:
docker run -v $(pwd):/usr/src sonarsource/sonar-scanner-cli:4.7 sonar-scanner
INFO: SonarScanner 18.104.22.16847 INFO: Java 11.0.14 Alpine (64-bit) INFO: Linux 5.13.0-1022-azure amd64 INFO: Analyzing on SonarQube server 8.2.0