Callback type used for forEachComment.
Full parsed text of the comment.
Text range of the comment in its file.
let onComment: ForEachCommentCallback = (fullText, comment) => { console.log(`Found comment at position ${comment.pos}: '${fullText}'.`);}; Copy
let onComment: ForEachCommentCallback = (fullText, comment) => { console.log(`Found comment at position ${comment.pos}: '${fullText}'.`);};
Callback type used for forEachComment.