Re:Announcing TypeScript 2.1
by time4tea on Wednesday December 07, 2016 @05:00PM
(#13126660)
The noImplicitAny flag just doesn't make sense. You changed the new default behaviour to be the thing you don't recommend?
[ Parent
| on HN ]
Re:Announcing TypeScript 2.1
by mohamedhegazy on Wednesday December 07, 2016 @06:05PM
(#13127057)
`--noImplicitAny` is the recommended flag. It is not set by default to ease the use on JS code bases.
The new changes makes `--noImplicitAny` require less type annotations; where the compiler can figure out the type of a variable through following the control flow.