title: How do you add nested params to tsdoc documentation
body: <p>The code below shows functionality that can potentially be used to register a user. The request body takes in multiple nested parameters such as <code>firstName</code>, <code>lastName</code>, and more. How can I adequately document these nested parameters with tsdoc?</p>
  <pre><code>    /**
       * @remarks
       * This method creates a user.
       *
       * @param  req - The request object
       * @param  res - The response object
       *
       * @returns Created user object showing the created user
       * ```
       *{
          &quot;message&quot;: {
              &quot;_id&quot;: &quot;5ef3249f6a01c1006e091f92&quot;,
              &quot;id&quot;: &quot;1u_RGoYwV&quot;,
              &quot;firstName&quot;: &quot;test&quot;,
              &quot;lastName&quot;: &quot;User&quot;,
              &quot;password&quot;: &quot;$2a$10$ZQf23Qx910iJLzHO65BOO.RShufiU.YAT/IXnGQwreQ0rdoElrSQG&quot;,
              &quot;email&quot;: &quot;test@gmail.com&quot;,
              &quot;avatarUrl&quot;: &quot;https://www.image.com/cat.jpg&quot;,
      *       }
       *  }
       * ```
       *
       */
  
      async create(req: Request, res: Response) {
          let user = new UserModel(this.db);
          const {
              firstName,
              lastName,
              email,
              password,
              currentOrganization,
              avatarUrl
          } = req.body;
          const hashedPassword = await PasswordHelper.hashPassword(password);
          user.setFirstName(firstName);
          user.setLastName(lastName);
          user.setEmail(email);
          user.setPassword(hashedPassword);
          user.setAvatarUrl(avatarUrl);
          user.setCurrentOrganization(currentOrganization);
          await user.save();
          const users = user.get();
          res.status(200).send({ message: users });
             
      }
  </code></pre>