News for hackers. Stuff that matters.
Re:JavaScript libraries should be written in TypeScript by icholy on Wednesday March 16, 2016 @09:57AM (#11297294)
> I mean, one of his main points is that everything written in JS should be written in typescript because it helps support typescript users.

I agree, that wasn't a good point.

> Another it is leads to better documentation, with no qualification of how that happens

The type annotations make the source self documenting in a way that doesn't go out of sync. There's also http://typedoc.io/

Re:JavaScript libraries should be written in TypeScript by tlarkworthy on Wednesday March 16, 2016 @12:09PM (#11298383)
Typedoc doesn't keep up with TS versions. It's not really solid enough.