GoScrobble/web/node_modules/fork-ts-checker-webpack-plugin/lib/issue/IssueSeverity.d.ts

9 lines
417 B
TypeScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
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 };