Issue
I installed JSDoc from apt on Ubuntu 20.04 using jsdoc-toolkit
and it does not recognize my ES6 class. Why is this?
Solution
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.
Answered By - qwr