leasot
Version:
Parse and output TODOs and FIXMEs from comments in your files
13 lines (12 loc) • 555 B
TypeScript
import { BuiltinReporters, ReporterConfig, ReporterName, ReportItems, TodoComment } from '../definitions.js';
/**
* Load the given reporter
*/
export declare const loadReporter: (reporter: ReporterName | ReportItems) => Promise<ReportItems | void>;
/**
* Report the provided items
* @param items The items to report
* @param reporter The reporter to use
* @param config Reporter configuration
*/
export declare const report: (items: TodoComment[], reporter?: BuiltinReporters | ReporterName | ReportItems, config?: ReporterConfig) => Promise<any>;