Fixed a comment

This commit is contained in:
Arthur Ozga 2015-08-03 11:09:58 -07:00
parent 2540905075
commit 8e13c0a3ad

View file

@ -536,10 +536,10 @@ namespace ts {
}
/**
* Extract comments from the given source text starting at the given position.
* Extract comments from text prefixing the token closest following `pos`.
* The return value is an array containing a TextRange for each comment.
* Single-line comment ranges include the beginning '//' characters but not the ending line break.
* Multi - line comment ranges include the beginning '/* and ending '<asterick>/' characters.
* Multi - line comment ranges include the beginning '/* and ending '<asterisk>/' characters.
* The return value is undefined if no comments were found.
* @param trailing
* If false, whitespace is skipped until the first line break and comments between that location