TypeScript
A strongly typed programming language that builds on JavaScript, giving you better tooling at any scale.
TypeScript is a superset of JavaScript, meaning any valid JavaScript code is also valid TypeScript. It adds optional static typing, which helps developers catch errors early during development (compile time) rather than at runtime. It is widely used in large-scale applications (frontend and backend) for better maintainability and tooling support.
graph LR
Center["TypeScript"]:::main
Rel_go_lang["go-lang"]:::related -.-> Center
click Rel_go_lang "/terms/go-lang"
Rel_java["java"]:::related -.-> Center
click Rel_java "/terms/java"
Rel_llm["llm"]:::related -.-> Center
click Rel_llm "/terms/llm"
classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
linkStyle default stroke:#4b5563,stroke-width:2px;
🧠 Knowledge Check
🧒 Explain Like I'm 5
[JavaScript](/en/terms/javascript) with a 'safety net'. It checks your code for mistakes as you write it, so you don't have bugs when people use your website.
🤓 Expert Deep Dive
Transpiles to plain JavaScript. Core features include interfaces, enums, generics, and union types. It is developed and maintained by Microsoft.