mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-23 08:55:18 +00:00
9 lines
417 B
TypeScript
9 lines
417 B
TypeScript
|
declare const IssueSeverity: {
|
||
|
readonly ERROR: "error";
|
||
|
readonly WARNING: "warning";
|
||
|
};
|
||
|
declare type IssueSeverity = typeof IssueSeverity[keyof typeof IssueSeverity];
|
||
|
declare function isIssueSeverity(value: unknown): value is IssueSeverity;
|
||
|
declare function compareIssueSeverities(severityA: IssueSeverity, severityB: IssueSeverity): number;
|
||
|
export { IssueSeverity, isIssueSeverity, compareIssueSeverities };
|