One of my classes generates a jsDoc error because it is extending goog.Disposable. I am using @extends to specify this, but it’s still not working. Files compile without errors with the closure linter.
the code can be found here”
One of my classes generates a jsDoc error because it is extending goog.Disposable. I
Share
Your JavaScript file contains the following line:
goog.inherits takes the child constructor followed by the parent constructor:
For a JSDoc-Toolkit template, you could try gcodewiki. Using gcodewiki, I successfully generated JSDoc for your file niuzly.base.errorHandler.js with the following warnings:
Including Closure Library’s
base.jsanddisposable.jsas inputs to JSDoc-Toolkit eliminates the warningCan't augment contributer: goog.Disposable, not found.To eliminate the warning about the undocumented symbol
niuzly.base, you could add the following to your source file or just ignore the warning.JSDoc 3
Using JSDoc 3 instead of the older JSDoc-Toolkit successfully generated documentation when only niuzly.base.errorHandler.js and disposable.js were specified. In addition, there was no warning about the undocumented symbol
niuzly.base.