标签: javascript documentation jsdoc
如何记录期望从对象折叠的函数参数?
/** * Adds two properties of the object. * * @param {Object} ? --- how to document different expected properties of object? */ function abc({prop1, prop3}) { return prop1 + prop3 }