title: How to show description for Custom Function Parameters in Officejs
body: <p>We are using Excel add-in Custom Functions with Batching using OfficeJS and below are the clarifications.</p>
  <ol>
  <li>For any new custom functions we were able to show with description for the function selected in Excel. <br></li>
  <li>But for the parameters used in the functions could not show description for respective parameters when
  selected the same. <br> .</li>
  </ol>
  <p>Based on below sample, it is not showing number1 as description when entering num1 parameter.</p>
  <p><strong>Sample Custom Functions code</strong></p>
  <pre><code>/**
   * Sample Custom addition function
   * @CustomFunction Sampleaddition Sample.add
   * @param num1[][] number1
   * @param [num2]  number2
   * @param [num3] 
   */
  </code></pre>
  <p>Kindly let me know if anything missing on above sample or any other details wanted further.</p>
  <p><strong>Tried below sample code also but still description of parameters are not displayed both in online version and desktop version.</strong></p>
  <pre><code>/**
   * Calculates the sum of the specified numbers
   * @customfunction
   * @param first First number.
   * @param second Second number.
   * @param [third] Third number to add. If omitted, third = 0.
   * @returns The sum of the numbers.
   */
  function add(first: number, second: number, third?: number): number {
    if (third === null) {
      third = 0;
    }
    return first + second + third;
  }
  </code></pre>