When the parameters of a function use deconstructed objects, how to write jsDoc? for them

problem description

when I use deconstruction assignment in the parameters of a function, how should I write the corresponding jsDoc, so that IDE can prompt the content correctly?
Thank you in advance for all the excellent respondents who participated in the answer!

related codes

......
/**
 * Avg
 */
class Avg {
  /**
   * 
   * @param {Object} [p]  < jsDocVSCAvg
   * @param {HTMLCanvasElement} [p.target]  < 
   * @param {number} [p.height = 720] canvas < 
   * @param {number} [p.width = 1280] canvas < 
   * @param {string} [p.color = con.DEFUALT_COLOR]  < 
   */
  constructor ({
    target = undefined, // canvas
    width = con.DEFUALT_DRAWING_BOARD_WIDTH, // 
    height = con.DEFUALT_DRAWING_BOARD_HEIGHT, // 
    color = con.DEFUALT_COLOR // 
  } = {}) {
    /**
     * 
     * @type {string}
     */
    this.color = color
    .....

current effect and expected effect

it is useless to talk too much. Please see the figure
the expected effect


50

.
Sep.06,2021

you can write a separate
.d.ts file
use interface to define an interface for the representation of parameters here
example
https://github.com/iamapig120.

interface Table {
  /**
   * GetSelectkeyvalue
   * @returns Promiseresolve
   */
  get(p: {
    /**
     * keyvalue
     */
    params?: { [x: string]: string | null | number }
    /**
     * keyvalueASCfalseDESCtrueASC
     */
    orderBy?: { [x: string]: boolean }
    /**
     * 
     */
    columns?: Array<string>
    /**
     *  2 
     */
    limit?: [
      /**
       * 
       */
      number,
      /**
       * 
       */
      number
    ]
  }): Promise<any>
...

here params,orderBy,columns,limit is regarded as the property of the first parameter object p of the get method of Table, and the return type of the method is Promise , that is, an instantiated Promise object

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e50853-43d76.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e50853-43d76.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?