News for hackers. Stuff that matters.
Re:JavaScript libraries should be written in TypeScript by STRML on Wednesday March 16, 2016 @09:53AM (#11297262)
Try Flow, if you haven't yet. It's not as complete as TS, but it gets out of your way and requires minimal investment. I find that the `(foo: string, bar: number)` annotation style is just far more readable than e.g. JSDoc. You don't even really need to be running Flow (babel will strip them), but it's practically free - why not.

There are no comments on this comment yet.