diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index 6073c0c9421..bb94bea1491 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -6768,11 +6768,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi * Removes all but the pinned or triple slash comments. * @param ranges The array to be filtered * @param onlyPinnedOrTripleSlashComments whether the filtering should be performed. - * - * This probably shouldn't be a parameter at all. It appears that in every call, the argument is - * precisely 'compilerOptions.removeComments'. - * - * How to fix this? */ function filterComments(ranges: CommentRange[], onlyPinnedOrTripleSlashComments: boolean): CommentRange[] { // If we're removing comments, then we want to strip out all but the pinned or