@@ -1250,7 +1250,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi
12501250 else {
12511251 // One object literal with all the attributes in them
12521252 write ( "{" ) ;
1253- for ( var i = 0 ; i < attrs . length ; i ++ ) {
1253+ for ( let i = 0 , n = attrs . length ; i < n ; i ++ ) {
12541254 if ( i > 0 ) {
12551255 write ( ", " ) ;
12561256 }
@@ -1262,7 +1262,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi
12621262
12631263 // Children
12641264 if ( children ) {
1265- for ( var i = 0 ; i < children . length ; i ++ ) {
1265+ for ( let i = 0 ; i < children . length ; i ++ ) {
12661266 // Don't emit empty expressions
12671267 if ( children [ i ] . kind === SyntaxKind . JsxExpression && ! ( ( < JsxExpression > children [ i ] ) . expression ) ) {
12681268 continue ;
@@ -1356,7 +1356,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi
13561356 function emitJsxElement ( node : JsxElement ) {
13571357 emitJsxOpeningOrSelfClosingElement ( node . openingElement ) ;
13581358
1359- for ( var i = 0 , n = node . children . length ; i < n ; i ++ ) {
1359+ for ( let i = 0 , n = node . children . length ; i < n ; i ++ ) {
13601360 emit ( node . children [ i ] ) ;
13611361 }
13621362
@@ -5172,7 +5172,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi
51725172 // a lexical declaration such as a LexicalDeclaration or a ClassDeclaration.
51735173
51745174 if ( isClassExpressionWithStaticProperties ) {
5175- for ( var property of staticProperties ) {
5175+ for ( const property of staticProperties ) {
51765176 write ( "," ) ;
51775177 writeLine ( ) ;
51785178 emitPropertyDeclaration ( node , property , /*receiver*/ tempVariable , /*isExpression*/ true ) ;
@@ -5719,7 +5719,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi
57195719 const parameters = valueDeclaration . parameters ;
57205720 const parameterCount = parameters . length ;
57215721 if ( parameterCount > 0 ) {
5722- for ( var i = 0 ; i < parameterCount ; i ++ ) {
5722+ for ( let i = 0 ; i < parameterCount ; i ++ ) {
57235723 if ( i > 0 ) {
57245724 write ( ", " ) ;
57255725 }
0 commit comments