2 ms·
Can you perform type checking with JSDoc? As in, run type checks in CI/CD, commit hooks, etc?
by Merad 10mo ago
Can you perform type checking with JSDoc? As in, run type checks in CI/CD, commit hooks, etc?
- matt_kantor 10mo agoYes. 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.