Hacker News new | ask | show | jobs
by Merad 187 days ago
Can you perform type checking with JSDoc? As in, run type checks in CI/CD, commit hooks, etc?
1 comments

Yes. As described in the article, the TypeScript compiler understands type annotations that are written in JSDoc syntax. So you can use `tsc`, just like you would to check `.ts` files.