leasot
Version:
Parse and output TODOs and FIXMEs from comments in your files
6 lines (5 loc) • 506 B
TypeScript
import { Tag, TodoComment } from '../../definitions.js';
export declare const getRegex: (customTags?: Tag[]) => string;
export declare const prepareComment: (match: string[], line: number, filename?: string) => TodoComment;
export declare const extractSingleLineComments: (contents: string, file: string, lineCommentRegex: RegExp) => TodoComment[];
export declare const extractSingleLineFromBlocks: (contents: string, file: string, multiLineCommentRegex: RegExp, innerBlockRegex: RegExp) => TodoComment[];