Auto converting let -> const where possible in mainthread and extHost

Const provides better type guards and can make logic clearer
This commit is contained in:
Matt Bierner
2019-03-05 16:25:26 -08:00
parent aef80e8070
commit 52556f9742
38 changed files with 219 additions and 219 deletions

View File

@@ -89,7 +89,7 @@ function _generateMarkdown(description: string | ICommandHandlerDescription): st
if (typeof description === 'string') {
return description;
} else {
let parts = [description.description];
const parts = [description.description];
parts.push('\n\n');
if (description.args) {
for (let arg of description.args) {