-1

I installed JSDoc from apt on Ubuntu 20.04 using jsdoc-toolkit and it does not recognize my ES6 class. Why is this?

qwr
  • 9,525
  • 5
  • 58
  • 102

1 Answers1

1

The version in apt provided by jsdoc-toolkit is an old version, JSDoc Toolkit 2.4.0.

Use npm install -g jsdoc to globally install JSDoc 3, which supports ES6 Classes.

qwr
  • 9,525
  • 5
  • 58
  • 102