Type alias Result

Result: Readonly<{
    message: string;
    status: ScmInputIssueType;
}>

Type for the validation result with a status and a corresponding message.

Type declaration

  • message: string
  • status: ScmInputIssueType