I installed JSDoc from apt on Ubuntu 20.04 using jsdoc-toolkit
and it does not recognize my ES6 class. Why is this?
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 .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.