5
Zastanawiam się, jak dokumentować wtyczkę jQuery za pomocą JSDoc? Mój kod to:Dokumentacja wtyczki jQuery z JSDoc
/**
* The default configurations of comments
* @typedef {Object} CommentConfig
...
*/
/**
* Show comments
* @method comments
* @version 1.0.1
* @param {CommentConfig} options Configuration of comment
*/
$.fn.comments = function (options) {
// ..
}
Chcę @method
jest $.fn.comments
ale to nie działa.