IssueSeverity.d.ts 417 B

12345678
  1. declare const IssueSeverity: {
  2. readonly ERROR: "error";
  3. readonly WARNING: "warning";
  4. };
  5. declare type IssueSeverity = typeof IssueSeverity[keyof typeof IssueSeverity];
  6. declare function isIssueSeverity(value: unknown): value is IssueSeverity;
  7. declare function compareIssueSeverities(severityA: IssueSeverity, severityB: IssueSeverity): number;
  8. export { IssueSeverity, isIssueSeverity, compareIssueSeverities };