File tree Expand file tree Collapse file tree
src/compiler/transformers Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments