Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

extra space added. #11

Closed
paulirish opened this issue Apr 21, 2017 · 3 comments
Closed

extra space added. #11

paulirish opened this issue Apr 21, 2017 · 3 comments

Comments

@paulirish
Copy link

Repro:
Have a class function like:

  static makeV1TableHeadings(headings) {

  }

Run "Add doc comments."
View the result:

  /**
   * @param  {} headings
   */

Note there's an extra space before the curly brackets.

@egamma
Copy link
Member

egamma commented Apr 21, 2017

@paulirish I suggest to use built-in JSDoc generation support

jsdoc

@paulirish
Copy link
Author

not bad!! alright then, works for me. :)

@paulirish
Copy link
Author

The JSDoc snippet does generate some trailing whitespace, however. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants