UNPKG

t-comm

Version:

专业、稳定、纯粹的工具库

22 lines (21 loc) 632 B
/** * 获取审核人 * @param params 参数 * @returns 审核人 * * @example * ```ts * getAuditorFromRainbowConfig({ * rainbowConfig: { "pmd-mobile/match/*": "gg", "pmd-mobile/convert-cross": "gg" }, * checkKeyList: [ 'pmd-mobile/match/gp/gp-hor', 'pmd-mobile/match/gp' ], * minimatch: require('minimatch'), * minimatchKey: 'pmd-mobile/match/gp', * }) * ``` */ export declare function getAuditorFromRainbowConfig({ rainbowConfig, checkKeyList, minimatch, minimatchKey, }: { rainbowConfig: Record<string, string>; checkKeyList: string[]; minimatch: Function; minimatchKey: string; }): string;