I have my doubts about majority of JavaScript being TypeScript.

You’re probably right. RedMonk [0] shows JavaScript and TypeScript separately and has the former well above the latter.

[0] https://redmonk.com/sogrady/2025/06/18/language-rankings-1-2...

Even if they're not written as TypeScript, there are usually add on definitions like "@types/prettier" and the like.