Report errors (and quickfixes) for incorrect JSDoc
See original GitHub issueTypeScript Version: nightly (2.4.0-dev.20170515)
Code
/**
* @param abcdeg A parameter
*/
function f(abcdefg: number) {
abcdeg;
}
Expected behavior:
Can fix spelling for either abcdeg
.
Actual behavior:
Does not work in jsdoc.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:6 (5 by maintainers)
Top Results From Across the Web
JavaScript linters | WebStorm Documentation - JetBrains
View problems and apply quick-fixes in the editor. In the editor, hover the mouse pointer over the highlighted problem.
Read more >JavaScript Type Linting - Medium
As you type your JavaScript, TypeScript will analyze the types and report any errors it finds. Since this happens live, there is no...
Read more >About JSDoc plugins
Reporting Errors. If your plugin needs to report an error, use one of the following methods in the jsdoc/util/logger module:.
Read more >npm install error Invalid Package: expected taffydb but found ...
It would appear that this latest commit in the taffydb-jsdoc fork has broken it: ...
Read more >The starting point for learning TypeScript
TypeScript Documentation. Get Started. Quick introductions based on your background or preference. TS for the New Programmer · TypeScript for JS ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@brettz9 Enable
"checkJs": true
insidecompilerOptions
in yourtsconfig.json
and you should get an error if a@return
tag is incorrect.Enable
"noImplicitAny": true
(or better,"strict": true
) and you will get an error if a@param
tag is missing.Might there be optional report of missing JSDoc
@param
and@return
?And how about detection of a mismatch between actual
return
and@return
/@returns
?