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.be...@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@mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to