Skip to content

@return unavailable in closurecompiler? #76

@Deathspike

Description

@Deathspike

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions