Fix the wrong return value type description of validateResult

This commit is contained in:
hi-rustin 2021-04-18 10:43:14 +08:00
parent 83ca4b7e60
commit 37b289720d

View file

@ -840,7 +840,7 @@ window.initSearch = function(rawSearchIndex) {
* @param {[string]} path [The path of the result]
* @param {[string]} keys [The keys to be used (["file", "open"])]
* @param {[object]} parent [The parent of the result]
* @return {[boolean]} [Whether the result is valid or not]
* @return {boolean} [Whether the result is valid or not]
*/
function validateResult(name, path, keys, parent) {
for (var i = 0, len = keys.length; i < len; ++i) {