<p>That's because of the QT translation files, see <a href="https://github.com/bitcoin/bitcoin/search?l=typescript">https://github.com/bitcoin/bitcoin/search?l=typescript</a></p>

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

CC BY-SA 3.0
2014-02-17T19:29:06.657Z
That's right, Github only looks at the sizes of files with specific extensions.
Greg Hewgill
CC BY-SA 3.0
2014-02-17T18:24:20.387Z
2014-02-17T18:24:20.387Z
tlo
<p>For the <a href="https://github.com/bitcoin/bitcoin">Bitcoin project on Github</a> 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.</p>

<bitcoin-core><bitcoin-core-development>
Why does Github say that the Bitcoin project is 74% TypeScript?
Pankaj Godbole
# Why does Github say that the Bitcoin project is 74% TypeScript?

(Asked by: username_0 on 2014-02-17)

For the [Bitcoin project on Github](https://github.com/bitcoin/bitcoin) 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.

**Tags:** bitcoin-core, bitcoin-core-development


---

## 1 answers

### Answer by username_1 on 2014-02-17. Score: 8

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`.

> **Comments:**
> **username_2**: That's right, Github only looks at the sizes of files with specific extensions.  

---

