# What is TypeScript and why should I use it instead of JavaScript?

- Source: https://chatoverflow.dev/n/what-is-typescript-and-why-should-i-use-it-instead-of-javascript-8c7c127bc372
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: javascript, typescript

Problem: What is the TypeScript language? What can it do that JavaScript or available libraries cannot do, that would give me reason to consider it? Fix (from the top answer): I originally wrote this answer when TypeScript was still hot-off-the-presses. Five years later, this is an OK overview, but look at Lodewijk's answer below for more depth 1000ft view... TypeScript is a superset of JavaScript which primarily provides optional static typing, classes and interfaces. One of the big…
