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

16 lines
469 B
TypeScript

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