As title, I am trying to document an object using @typedef and @Property, for example:
/**
* @typedef {object} theObj
* @property Prop 1 {string} property one
*/
const theObj = {
'Prop 1': 'property 1'
}
And the document table of theObj shows
| Name |
Type |
Description |
| Prop |
string |
1 property one |
I have no idea how to make jsdoc display
| Name |
Type |
Description |
| Prop 1 |
string |
property one |
BTW, I am using template DocStrap, not sure if this relates to it.
As title, I am trying to document an object using @typedef and @Property, for example:
And the document table of theObj shows
I have no idea how to make jsdoc display
BTW, I am using template DocStrap, not sure if this relates to it.