TypeScript is about addressing this problem
A problem that we hear increasingly more and more from
customers and internal users that writing really large apps in
classes, not yet at least, no modules, no interfaces, and there's no
static typing at all.
It's a purely dynamically typed language.
The intelligent IDEs that we as programmers rely on every day , at
the core of most of it is static typing, or the ability to reason about
the code in intelligent ways
so the IDE can deliver invaluable things like statement completion,
go to definition, find all references, refactorings that are known to
That just gets a super, super hard in big dynamic code bases.
And that really, in a nutshell, is whatTypeScript is.
In a more technical sense, it is a statically typed super set of
SoTypeScript itself is written inTypeScript and therefore compiles
So it's important to understand thatTypeScript is not a new
language or different language.
So what it adds is types, including generics and all sorts of other
And then, powered by that is excellent tooling, tooling that does
things that you just couldn't do with purely a dynamic
But when you compile, it all goes away, and you're just left with
that looks like a human wrote it.
The code that you get is the code that you wrote, minus the types.