Skip to content

Declaration of multiple variables with shared type information  #6

@vjpr

Description

@vjpr
->
  ###* @type {string} ###
  a = 'hello'
  b = 'toodles'
WARNING - declaration of multiple variables with shared type information
  var a, b;

This only happens with the changes I made and only when it is at the top of the scope/function body. A quick workaround is to place {} before the first jsdoc comment if you need to add type info to the first var declared.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions