From 8e13c0a3ad1a63708b0421db9162f694af29b760 Mon Sep 17 00:00:00 2001 From: Arthur Ozga Date: Mon, 3 Aug 2015 11:09:58 -0700 Subject: [PATCH] Fixed a comment --- src/compiler/scanner.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/scanner.ts b/src/compiler/scanner.ts index 2e692470cc..55e58bb4d4 100644 --- a/src/compiler/scanner.ts +++ b/src/compiler/scanner.ts @@ -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 '/' characters. + * Multi - line comment ranges include the beginning '/* and ending '/' 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