File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed
src/compiler/transformers Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -71,8 +71,6 @@ namespace ts {
71
71
return visitEachChild ( node , visitor , context ) ;
72
72
}
73
73
74
- // node = visitEachChild(node, visitor, context);
75
- // return visitEachChild(node, visitor, context);
76
74
return node ;
77
75
}
78
76
Original file line number Diff line number Diff line change @@ -2247,10 +2247,6 @@ namespace ts {
2247
2247
}
2248
2248
2249
2249
function transformFunctionBody ( node : MethodDeclaration | AccessorDeclaration | FunctionDeclaration | FunctionExpression ) : FunctionBody {
2250
- // if (isAsyncFunctionLike(node) && languageVersion < ScriptTarget.ES2017) {
2251
- // return <FunctionBody>transformAsyncFunctionBody(node);
2252
- // }
2253
-
2254
2250
return transformFunctionBodyWorker ( node . body ) ;
2255
2251
}
2256
2252
@@ -2267,10 +2263,6 @@ namespace ts {
2267
2263
}
2268
2264
2269
2265
function transformConciseBody ( node : ArrowFunction ) : ConciseBody {
2270
- // if (isAsyncFunctionLike(node) && languageVersion < ScriptTarget.ES2017) {
2271
- // return transformAsyncFunctionBody(node);
2272
- // }
2273
-
2274
2266
return transformConciseBodyWorker ( node . body , /*forceBlockFunctionBody*/ false ) ;
2275
2267
}
2276
2268
You can’t perform that action at this time.
0 commit comments