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

16 lines
469 B
TypeScript
Raw Permalink Normal View History

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