the-forest/client/node_modules/fork-ts-checker-webpack-plugin/lib/issue/Issue.d.ts
2024-09-17 20:35:18 -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 };