5
User
Recs.
Recs.
11
Updates
Last
Updated
Updated
Activity
5 Options
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 6 years ago
Saka hasn’t added their experience, pros or cons to their recommendation.
TypeScript
Recommended 7 years ago
LoveableKishar hasn’t added their experience, pros or cons to their recommendation.
TypeScript
Recommended 7 years ago
Leeland hasn’t added their experience, pros or cons to their recommendation.
TypeScript
Recommended 8 years ago
Pro
Strict superset of JavascriptPro
Optional static typingPro
Polyfill for ES6 fat-arrow syntaxPro
Built and Supported by MicrosoftPro
Has a repository of high quality TypeScript type definitions for popular librariesPro
First party Visual Studio supportPro
Adds support for object-oriented programmingTypeScript
Recommended 8 years ago
thermoplastics hasn’t added their experience, pros or cons to their recommendation.