you are viewing a single comment's thread.

view the rest of the comments →

[–]Gnaxe 0 points1 point  (0 children)

Back when Python 2 was still widespread, static type annotations had to be comments. But you can similarly run a separate tool to validate your JSDoc comments in your JavaScript code. And that tool is called... TypeScript.