Y
Hacker News
new
|
ask
|
show
|
jobs
by
yard2010
700 days ago
JSDoc is for docs, TypeScript is a static type checker. How can these tools be used interchangeably?
1 comments
styfle
699 days ago
You can configure tsconfig.json to read JSDoc and error on invalid types so that you effectively get the same behavior as writing typescript.
link