只用VScode,在代码开头部分输入(/**)就可以生成一块区域用来编写代码提示
/**
* @param { Number } dirpath
* @returns { Array } dirs
* @description 遍历目录结构
* 使用方式
*
* ```
* mapdir('目录路径')
* ```
* @link http://www.w3school.com.cn/jsref/dom_obj_object.asp
*/
当引用模块的时候,会在传参的时候做出提示