Re:Announcing TypeScript 1.0
by Kiro on Thursday April 03, 2014 @06:44AM
(#7521973)
Can you give an example of a defect that the type system catched? You said typos but that's something JSLint would catch as well so not sure if it's a strong argument.
[ Parent
| on HN ]
This talk is about porting a AngularJS app to Typescript, and the kind of errors it catches just by adding type definitions: https://www.youtube.com/watch?v=u6TeBM_SC8w
I've not yet ported my Angular apps to Typescript but I'm very much itching to do so.
Re:Announcing TypeScript 1.0
by radicalbyte on Thursday April 03, 2014 @12:11PM
(#7523817)
Officially we were using jshint.
Misspelled magic strings, which were replaced with enumerations.
We also had a number of bugs with unexpected type use - like a function which expected a boolean but was given a string, or even more common number/string failures.