5 lines
292 B
TypeScript
5 lines
292 B
TypeScript
declare type IssueSeverity = 'error' | 'warning';
|
|
declare function isIssueSeverity(value: unknown): value is IssueSeverity;
|
|
declare function compareIssueSeverities(severityA: IssueSeverity, severityB: IssueSeverity): number;
|
|
export { IssueSeverity, isIssueSeverity, compareIssueSeverities };
|