Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Merad
· 11mo ago · 0 comments
Can you perform type checking with JSDoc? As in, run type checks in CI/CD, commit hooks, etc?
Comments
[–]
matt_kantor
11mo ago
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.