PromoCursed/node_modules/fork-ts-checker-webpack-plugin/lib/issue/IssueMatch.d.ts
2024-08-20 23:25:37 +04:00

6 lines
337 B
TypeScript

import { Issue } from './index';
import { IssuePredicate } from './IssuePredicate';
declare type IssueMatch = Partial<Pick<Issue, 'origin' | 'severity' | 'code' | 'file'>>;
declare function createIssuePredicateFromIssueMatch(context: string, match: IssueMatch): IssuePredicate;
export { IssueMatch, createIssuePredicateFromIssueMatch };