Since JSDoc seems cerebrally dead...

Dan Peddle dan at flarework.com
Mon Aug 17 20:56:44 UTC 2020


This feels like rich territory for a blog post, if someone feels qualified? Specifically, just running the typescript tool chain for jsdoc annotations, which are excellent for all the reasons mentioned above (comments only, vanilla js etc).

> On 17. Aug 2020, at 19:35, Andrea Giammarchi <andrea.giammarchi at gmail.com> wrote:
> 
> 
> Sorry, new link:
> https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html
> 
>> On Mon, Aug 17, 2020 at 8:34 PM Andrea Giammarchi <andrea.giammarchi at gmail.com> wrote:
>> TS supports JSDocs already
>> https://www.typescriptlang.org/docs/handbook/type-checking-javascript-files.html#supported-jsdoc
>> 
>>> On Mon, Aug 17, 2020 at 8:31 PM Bergi <a.d.bergi at web.de> wrote:
>>> Hi,
>>> 
>>> > They don't want to add TS to their stack.
>>> 
>>> Then what else would they want to add to their stack? Notice one doesn't
>>> necessarily need the TypeScript Compiler to add TypeScript- or Flow-like
>>> type annotations and remove them in a build step - Babel for example
>>> could do that just fine as well.
>>> Or are you asking for a jsdoc-like thing that lives in comments, where
>>> the code can be run without a compilation step?
>>> 
>>> kind regards,
>>>  Bergi
>>> _______________________________________________
>>> es-discuss mailing list
>>> es-discuss at mozilla.org
>>> https://mail.mozilla.org/listinfo/es-discuss
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20200817/de90f64c/attachment-0001.html>


More information about the es-discuss mailing list