Function throwTypeError

  • Throw a type error with the specified optional message

    Parameters

    • Optionalmessage: string

      The optional message to include in the error

    Returns never