PromoCursed/node_modules/fork-ts-checker-webpack-plugin/lib/issue/Issue.d.ts
2024-08-20 23:25:37 +04:00

14 lines
435 B
TypeScript

import { IssueSeverity } from './IssueSeverity';
import { IssueLocation } from './IssueLocation';
interface Issue {
origin: string;
severity: IssueSeverity;
code: string;
message: string;
file?: string;
location?: IssueLocation;
}
declare function isIssue(value: unknown): value is Issue;
declare function deduplicateAndSortIssues(issues: Issue[]): Issue[];
export { Issue, isIssue, deduplicateAndSortIssues };