We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef81a0d commit a534f2aCopy full SHA for a534f2a
1 file changed
src/services/services.ts
@@ -2009,7 +2009,7 @@ namespace ts {
2009
2010
let isCommenting = insertComment || false;
2011
let leftMostPosition = Number.MAX_VALUE;
2012
- const lineTextStarts = new Map<number>();
+ const lineTextStarts = new Map<string, number>();
2013
const firstNonWhitespaceCharacterRegex = new RegExp(/\S/);
2014
const isJsx = isInsideJsxElement(sourceFile, lineStarts[firstLine]);
2015
const openComment = isJsx ? "{/*" : "//";
0 commit comments