I just cannot figure out how to correctly document callback using @param so that Visual Studio 2017 intellisense will understand it.
For example:
/**
* @param {string} file absolute path
* @param {Function} callback called when done
*/
function loadFile(path, callback) {
/// code
}
The callback accepts Error and string as arguments (Node.js style), how to document it?