title: JSDoc - How to document object with generic key names?
body: <p>I need to document an ES6 class with JSDoc that takes in an object that has properties that has the key names as names of people so the key names can be pretty much any string, nothing predefined. So the structure of the object should be like the following:</p>
  
  <pre><code>{
      "Name of person": {
          "age": 31,
          "hobby": "Tennis"
      },
      "Name of another person": {
          "age": 29,
          "hobby": "Running"
      }
  }
  </code></pre>
  
  <p>So the name of each person is a key but it can be anything at all, it's not predefined. An example of what I'm trying to document:</p>
  
  <pre><code>class ExampleClass {
      /**
       * Creates an instance of ExampleClass
       * @param {Object} peopleObj            - Contains information about people.
       * @param {String} peopleObj.name       - The name of the person. &lt;----- how should this be documented?
       * @param {Number} peopleObj.name.age   - The age of the person.
       * @param {String} peopleObj.name.hobby - The hobby of the person.
       * @memberof ExampleClass
       */
      constructor(peopleObj) {
          // Do stuff
      }
  }
  </code></pre>
  
  <p>I feel like if I put "peopleObj.name" it implies that the key should be "name" but not any name you like. So how do I document this with letting the user know that he can insert any name he likes there?</p>
  
  <hr>
  
  <p><strong>EDIT</strong></p>
  
  <p>For anyone wondering, this is how I ended up documenting this (can't add it as answer since someone closed this question).</p>
  
  <pre><code>/**
  * Information about a single person.
  * @typedef Person
  * @type {object}
  * @property {number} age   - The age of the person.
  * @property {string} hobby - The hobby of the person.
  */
  class ExampleClass {
      /**
       * Creates an instance of ExampleClass.
       * @param {Object.&lt;string, Person&gt;} peopleObj - Information about people as {@link Person}
       *                                              objects where the key is their name.
       * @memberof ExampleClass
       */
      constructor(peopleObj) {
          // Do stuff
      }
  }
  </code></pre>