u-now / types-x

eXtend ServiceNow development with type definitions
MIT License
1 stars 3 forks source link

Restmessage monday #60

Closed emyrold closed 5 years ago

emyrold commented 5 years ago

finished, close #33

johncaruso commented 5 years ago

Also, see this for formatting. Note the blank line after the description and before @params. Note no blank line before @example. And don't forget to remove any {\<type>} included with the @param.


  /**
   * Gets the duration in the specified format.
   *
   * @param format The duration format.
   * @returns The current duration in the specified format.
   * @example
   *
   * var dur = new GlideDuration('3 22:00:00');
   * gs.info(dur.getByFormat('HH:mm'));
   */
  getByFormat(format: string): string;
``