renovate
Version:
Automated dependency updates. Flexible so you don't need to be.
12 lines (11 loc) • 523 B
TypeScript
import type { PackageRule, PackageRuleInputConfig } from '../../config/types';
import type { MatcherApi } from './types';
export declare abstract class Matcher implements MatcherApi {
/**
* Test match packageRule against inputConfig
* @return null if no rules are defined, true if match should be applied and else false
* @param inputConfig
* @param packageRule
*/
abstract matches(inputConfig: PackageRuleInputConfig, packageRule: PackageRule): boolean | null | Promise<boolean | null>;
}