What is TypeScript written in?

Year 2012 Paradigm object-oriented, functional, imperative Typing static Self-hosting yes
The TypeScript compiler is written in TypeScript (well-documented). It has been rewritten in Go. TypeScript is self-hosting.

Relationship Graph

All directly connected languages. Click any node to navigate to its page.

Compiler Implementation

LanguageConfidenceNotesSource
TypeScript 98% tsc is self-hosting, written in TypeScript Source

Rewritten In

LanguageConfidenceNotesSource
Go 95% TypeScript 7.0 compiler being rewritten in Go for 10x speedup Source

Influenced By

Languages TypeScript Influenced

Frequently Asked Questions

What language is TypeScript written in?
TypeScript is primarily implemented in TypeScript. See the implementation section above for details and source references.
What languages influenced TypeScript?
TypeScript was influenced by JavaScript, C#, Haskell among others. See the influence section above for the full list.
Which languages did TypeScript influence?
TypeScript influenced Dart, Angular among others.
Is TypeScript self-hosting?
Yes, TypeScript is self-hosting — its compiler can compile itself.

Evidence Sources

Related Languages

Explore TypeScript in Graph →