有支持 JSDoc 生成注释解构参数的 VSCode 插件吗?
資深大佬 : cl1107 5
/**
- Assign the project to an employee.
- @param {Object} employee – The employee who is responsible for the project.
- @param {string} employee.name – The name of the employee.
- @param {string} employee.department – The employee’s department. */
Project.prototype.assign = function({ name, department }) { // … };
生成这样的注释,找了几个插件都不支持解构参数的注释。
大佬有話說 (1)