Code comment. Either multi-line or single-line.

Hierarchy

  • EsComment

Implements

Constructors

Accessors

Methods

Constructors

Accessors

Methods

  • Appends comment to some code.

    Parameters

    • commented: string

      Code to comment.

    • Optional prefix: string

      Optional comment prefix

    Returns string

    Commented code.

  • Builds a string representation of this comment.

    Parameters

    • Optional prefix: string

      A prefix to place to comment text.

    Returns string

    String containing block comment.

Generated using TypeDoc