title: How can I properly document vue properties with type "Object" using jsDoc?
body: <p>What I am trying to achieve is to document properties that have the type &quot;Object&quot; e.g.</p>
  <pre class="lang-js prettyprint-override"><code>props: {
      foo: {
          type: Object,
          required: true
      }
  }
  </code></pre>
  <p>Now this object <code>foo</code> can and will have multiple entries from which some are mandatory while others will be optional. e.g.</p>
  <pre><code>&lt;my-component 
     :foo=&quot;{
          mandatoryItem1: 'bar',
          mandatoryItem2: {
              mayBeEvenNested: true
          },
          optionalItem1: 'baz',
          ...
      }&quot;
  /&gt;
  </code></pre>
  <p>Problem is that when using the property you would have to check the source code of the component to know which entries have to be present in the property.
  While using typescript too eliminate this problem would be great, we can not switch to TS right now, so we have to use jsDoc instead. And we would like to do it the proper way.</p>
  <p>When documenting functions and its parameters you can describe a nested parameter object like this (or something like that):</p>
  <pre class="lang-js prettyprint-override"><code>/**
   * @param bar {Object} object containg...
   * @param bar.mandatoryItem1 {String} ...
   * @param bar.mandatoryItem2 {Object} ...
   * @param bar.mandatoryItem2.mayBeEvenNested {Boolean} ...
   */
  function foo(bar) {
  
  }
  </code></pre>
  <p>How can I do the same or anything like this for a vue property?</p>
  <p>Ideally we would like to use something like vue-styleguidist in the future so automatically generate the docs for our components using the jsDoc so it is important to use the &quot;right&quot; syntax.</p>
  <p>PS: We would like to to the same for properties with type &quot;Array&quot; i.e. describing how the objects in the array would look like.</p>