issue-match.d.ts 337 B

12345
  1. import type { IssuePredicate } from './issue-predicate';
  2. import type { Issue } from './index';
  3. declare type IssueMatch = Partial<Pick<Issue, 'severity' | 'code' | 'file'>>;
  4. declare function createIssuePredicateFromIssueMatch(context: string, match: IssueMatch): IssuePredicate;
  5. export { IssueMatch, createIssuePredicateFromIssueMatch };