mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
replacing let with const
This commit is contained in:
1 parent
27f72eb5cf
commit
081c692197
1 file changed
+1
-1
@@ -166,9 +166,9 @@ namespace ts.JsDoc {
|
||||
const lineStart = sourceFile.getLineStarts()[posLineAndChar.line];
|
||||
|
||||
const indentationStr = sourceFile.text.substr(lineStart, posLineAndChar.character);
|
||||
const isJavaScriptFile = hasJavaScriptFileExtension(sourceFile.fileName); // JSX or JS file
|
||||
|
||||
let docParams = "";
|
||||
let isJavaScriptFile = hasJavaScriptFileExtension(sourceFile.fileName); // JSX or JS file
|
||||
for (let i = 0, numParams = parameters.length; i < numParams; i++) {
|
||||
const currentName = parameters[i].name;
|
||||
const paramName = currentName.kind === SyntaxKind.Identifier ?
|
||||
|
||||
Reference in new issue
Block a user