You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
435 B
13 lines
435 B
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 };
|
|
|