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 <[email protected]> > 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 >> <[email protected]> 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 <[email protected]> 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 >>> [email protected] >>> https://mail.mozilla.org/listinfo/es-discuss > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

