News for hackers. Stuff that matters.
Re:JavaScript libraries should be written in TypeScript by SonicSoul on Wednesday March 16, 2016 @09:37AM (#11297125)
Except it really isn't. As soon as you convert to .ts you'll get a boat load of errors and have to re-declare your types and input parameters as vars for TS to ignore them. Also not sure what would be the point of using pure javascript in this context other than marginal benefit of a compiler detecting javascript syntax errors. Not arguing pro or against TS just pointing out it's not the same as using javascript

There are no comments on this comment yet.