PromoCursed/node_modules/fork-ts-checker-webpack-plugin/lib/issue/IssueMatch.d.ts

6 lines
337 B
TypeScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
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 };