the-forest/client/node_modules/fork-ts-checker-webpack-plugin/lib/issue/Issue.d.ts

14 lines
435 B
TypeScript
Raw Normal View History

2024-09-17 20:35:18 -04:00
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 };