danyg / jsdoc3Template

A custom Customizable JSDOC3 template
38 stars 23 forks source link

comments describing callbacks dropped from generated documentation #13

Open xorcus opened 10 years ago

xorcus commented 10 years ago

With the following jsdoc comment, it is expected that a type definition appears on the page where MyClass is documented, and to be able to reference the callback type when documenting method arguments like this: @param {MyClass~myCallbackType} callback The callback invoked when ...

/**

using "@typedef {function} MyClass~myCallbackType" does not work either