leasot
Version:
Parse and output TODOs and FIXMEs from comments in your files
21 lines (20 loc) • 638 B
TypeScript
import { BuiltinReporters, ExtensionsDb, ReporterName, Tag, TodoComment } from '../definitions.js';
/**
* @hidden
*/
export interface CommonProgramArgs {
readonly exitNicely?: boolean;
readonly ignore?: string[];
readonly reporter?: BuiltinReporters | ReporterName;
}
/**
* @hidden
*/
export interface ProgramArgs extends CommonProgramArgs {
readonly associateParser?: ExtensionsDb;
readonly filetype?: string;
readonly inlineFiles?: boolean;
readonly skipUnsupported?: boolean;
readonly tags?: Tag[];
}
export declare const outputTodos: (todos: TodoComment[], options: ProgramArgs) => Promise<never>;