Skip to content

Commit e60e97f

Browse files
committed
Cleanup comments
1 parent 1b4c0e3 commit e60e97f

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

src/compiler/transformers/es2017.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ namespace ts {
7171
return visitEachChild(node, visitor, context);
7272
}
7373

74-
// node = visitEachChild(node, visitor, context);
75-
// return visitEachChild(node, visitor, context);
7674
return node;
7775
}
7876

src/compiler/transformers/ts.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2247,10 +2247,6 @@ namespace ts {
22472247
}
22482248

22492249
function transformFunctionBody(node: MethodDeclaration | AccessorDeclaration | FunctionDeclaration | FunctionExpression): FunctionBody {
2250-
// if (isAsyncFunctionLike(node) && languageVersion < ScriptTarget.ES2017) {
2251-
// return <FunctionBody>transformAsyncFunctionBody(node);
2252-
// }
2253-
22542250
return transformFunctionBodyWorker(node.body);
22552251
}
22562252

@@ -2267,10 +2263,6 @@ namespace ts {
22672263
}
22682264

22692265
function transformConciseBody(node: ArrowFunction): ConciseBody {
2270-
// if (isAsyncFunctionLike(node) && languageVersion < ScriptTarget.ES2017) {
2271-
// return transformAsyncFunctionBody(node);
2272-
// }
2273-
22742266
return transformConciseBodyWorker(node.body, /*forceBlockFunctionBody*/ false);
22752267
}
22762268

0 commit comments

Comments
 (0)