mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-16 07:13:45 -05:00
fixed a comment
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user