For JS-Callbacks you have the possibility to describe a callback function with the @callback-annotation. The module generates currently an empty interface for that
Example:
/**
* Description of my callback
* @memberof myNamespace
* @callback myCallback
* @param {string} param1 Description of param1
* @returns {string} Description of the return value
*/
/**
* Description of my function
* @memberof myNamespace
* @param {myNamespace.myCallback} callback My callback param
*/
function test(callback) {
// ...
}
For JS-Callbacks you have the possibility to describe a callback function with the
@callback
-annotation. The module generates currently an empty interface for thatExample:
Generated output:
Expected output: