23
User
Recs.
Recs.
27
Updates
Last
Updated
Updated
Activity
94 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 a year ago
AdventurousPtah hasn’t added their experience, pros or cons to their recommendation.
TypeScript
Recommended 2 years ago
GloriousPallas hasn’t added their experience, pros or cons to their recommendation.
TypeScript
Recommended 2 years ago
JovialTheros hasn’t added their experience, pros or cons to their recommendation.
TypeScript
Recommended 3 years ago
MeticulousHina hasn’t added their experience, pros or cons to their recommendation.