Skip to content

Commit fcd96cb

Browse files
committed
fix tslint
1 parent 238fcbc commit fcd96cb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/compiler/emitter.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,11 +1257,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
12571257

12581258
// Children
12591259
if (children) {
1260-
let firstChild:JsxChild;
1260+
let firstChild: JsxChild;
12611261
let multipleEmittableChildren = false;
12621262

1263-
for (let i = 0, n = children.length; i < n; ++i) {
1264-
let jsxChild = children[i];
1263+
for (let i = 0, n = children.length; i < n; i++) {
1264+
const jsxChild = children[i];
12651265

12661266
if (isJsxChildEmittable(jsxChild)) {
12671267
// we need to decide whether to emit in single line or multiple lines as indented list
@@ -1272,7 +1272,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
12721272
}
12731273
else {
12741274
// more than one emittable child, emit indented list
1275-
if(!multipleEmittableChildren){
1275+
if (!multipleEmittableChildren) {
12761276
multipleEmittableChildren = true;
12771277
increaseIndent();
12781278
writeLine();

0 commit comments

Comments
 (0)