Why does Github say that the Bitcoin project is 74% TypeScript?
That's because of the QT translation files, see https://github.com/bitcoin/bitcoin/search?l=typescript

I'm not sure why they are recognized as TypeScript (it's just XML), I guess it's because of the filename extension .ts.