UNPKG

common-comment-parser

Version:

A universal comment parser (supports more than 30 languages)

17 lines (16 loc) 360 B
export interface commentsAST { type: string; value: string; loc: { start: { line: number; column: number; }; end: { line: number; column: number; }; }; } declare function commentsparser(context: string, type: string): commentsAST[]; export default commentsparser;