6 lines
336 B
TypeScript
6 lines
336 B
TypeScript
|
import { Issue } from './index';
|
||
|
declare type IssuePredicate = (issue: Issue) => boolean;
|
||
|
declare function createTrivialIssuePredicate(result: boolean): IssuePredicate;
|
||
|
declare function composeIssuePredicates(predicates: IssuePredicate[]): IssuePredicate;
|
||
|
export { IssuePredicate, createTrivialIssuePredicate, composeIssuePredicates };
|