14
User
Recs.
Recs.
31
Updates
Last
Updated
Updated
Activity
32 Options
TypeScript is a language for application-scale JavaScript development.
TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.
SpecsUpdate
Current stable version3.7
IDE SupportVery good
Pros
Know any positive aspects of this option?
Cons
Con Type inference coverage is incomplete
The default type when declaring and using a variable is any
. For example, the following should break but does not:
function add(a:number) { return a + 1 }
function addAB(a, b) {return add(a) + b}
addAB("this should break but doesn't :(", 100)
In order to avoid this, you have to declare type signatures for every variable or parameter or set the flag --noImplicityAny
when running the compiler.
Know any negative aspects of this option?
Recommendations
TypeScript
Recommended a year ago
Pro
Optional static typingPro
Great support for editors (Sublime, Code, Vim, IntelliJ...)Pro
Has a repository of high quality TypeScript type definitions for popular librariesPro
First party Visual Studio supportPro
Adds support for object-oriented programmingPro
Low number of logical errors brought in by built-in type annotationsTypeScript
Recommended 3 years ago
Pro
Optional static typingPro
Strict superset of JavascriptPro
Polyfill for ES6 fat-arrow syntaxPro
Strong typed languagePro
Great support for editors (Sublime, Code, Vim, IntelliJ...)Pro
Works well with Angular 2Pro
Great support for React, integrated typed JSX parsingPro
Compiles to very native looking codePro
Has a repository of high quality TypeScript type definitions for popular librariesPro
First party Visual Studio supportPro
Adds support for object-oriented programmingPro
Low number of logical errors brought in by built-in type annotationsPro
Built and supported by MicrosoftPro
Works well with existing Javascript codePro
Ability to do functional programming Pro
Clear roadmapTypeScript
Recommended 4 years ago
RespectableAglaea hasn’t added their experience, pros or cons to their recommendation.
TypeScript
Recommended 5 years ago
CommunicativeAtaguchu hasn’t added their experience, pros or cons to their recommendation.
TypeScript
Recommended 5 years ago
LoyalMarowit hasn’t added their experience, pros or cons to their recommendation.