For the Bitcoin project on Github clicking "Show language statistics" shows that the source code is almost 74% TypeScript. Why is this so when ostensibly Bitcoin is written almost entirely in C++. Even Script, Bitcoin's programming language, has got nothing to do with TypeScript or Javascript. What am I missing? Thanks.
1 Answer
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
.
-
2That's right, Github only looks at the sizes of files with specific extensions. Commented Feb 17, 2014 at 19:29