I have a declaration like this:
/**
* Creates a processor.
* @param {!IOptions} options
* @param {!ISeries} series
* @param {!IChapter} chapter
* @return {IProcessor}
*/
With the following settings:
"jsDoc": {
"checkAnnotations": "closurecompiler",
"checkParamNames": true,
"checkRedundantAccess": true,
"checkRedundantParams": true,
"checkRedundantReturns": true,
"checkReturnTypes": true,
"checkTypes": "strictNativeCase",
"enforceExistence": true,
"leadingUnderscoreAccess": true,
"requireParamTypes": true,
"requireReturnTypes": true
},
And I get a warning that @returnis unavailable. It should be@return, not@returns` for closure.
I have a declaration like this:
With the following settings:
And I get a warning that @return
is unavailable. It should be@return, not@returns` for closure.