Y
Hacker News
new
|
ask
|
show
|
jobs
by
Waterluvian
700 days ago
Jsdoc is honestly fine for simple and smaller projects. But yeah, it’s definitely not nearly as expensive while being anywhere as succinct.
1 comments
yard2010
700 days ago
JSDoc is for docs, TypeScript is a static type checker. How can these tools be used interchangeably?
link
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