Doubter - v5.1.1-next.e4e15ab
    Preparing search index...

    Type Alias MessageCallback

    MessageCallback: (issue: Issue, options: ParseOptions) => any

    Returns a human-readable message that describes an issue.

    You can assign the Issue.message property directly inside this callback or return the message.

    Type declaration

      • (issue: Issue, options: ParseOptions): any
      • Parameters

        • issue: Issue

          The issue for which the message should be produced.

        • options: ParseOptions

          The parsing options.

        Returns any

        The value that should be used as an issue message. If a non-undefined value is returned, it is assigned to the Issue.message property.