Hacker News new | ask | show | jobs
by throw_m239339 1049 days ago
This is exactly how I use typescript, as a linter and static type analyzer for javascript. Unfortunately, typescript support for JSdoc is quite basic. So that method has its limit. But I'm not committing any typescript code.

Someone here just suggested to import type definition files with JS doc annotations, and that's actually a good idea.