UNPKG

debt-collector

Version:

a nodejs tool to identify, track and mesure technical debt

24 lines (23 loc) 634 B
import { Config, RevisionResults } from '../../lib/types.js'; export type SpeedEstimation = { currentScore: number; avairage: { tendencyDay: number; tendencyMonth: number; daysToReachZero: number; estimatedendDate: Date | 'never'; }; lastPeriod: { tendencyDay: number; tendencyMonth: number; daysToReachZero: number; estimatedendDate: Date | 'never'; }; }; export declare const getEndDatesEstimations: (results: { config: Config; results: RevisionResults[]; }) => { rules: Record<string, SpeedEstimation>; global: SpeedEstimation; };