簡體   English   中英

YUIDOC-返回的回調的文檔參數

[英]YUIDOC - Document params of returned callback

如何正確記錄返回的回調並返回多個參數。 可執行程序:

return callback(error, success);

我將記錄此返回值如下:

/**
 * @return {Function} Returns the callback in the form of `callback(error, success)`
 */

也就是說-使用return語句的實際字符串描述。 (YUIDoc實際上沒有能力明確地記錄您想要的內容,而不用文字描述。)

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM