2 ms·
Both Closure and TypeScript support (some of) the JSDoc type annotations and syntax (http://usejsdoc.org/ http://usejsdoc.org/). AFAICT, TypeScript supports a
by nevir 10y ago
Both Closure and TypeScript support (some of) the JSDoc type annotations and syntax (http://usejsdoc.org/ http://usejsdoc.org/). AFAICT, TypeScript supports a subset of what Closure does - so anything here should be portable between the two:
https://github.com/Microsoft/TypeScript/wiki/JSDoc-support-in-JavaScript https://github.com/Microsoft/TypeScript/wiki/JSDoc-support-i...