mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 03:23:08 -06:00
Cleanup comments
This commit is contained in:
parent
1b4c0e331e
commit
e60e97f5c9
@ -71,8 +71,6 @@ namespace ts {
|
||||
return visitEachChild(node, visitor, context);
|
||||
}
|
||||
|
||||
// node = visitEachChild(node, visitor, context);
|
||||
// return visitEachChild(node, visitor, context);
|
||||
return node;
|
||||
}
|
||||
|
||||
|
||||
@ -2247,10 +2247,6 @@ namespace ts {
|
||||
}
|
||||
|
||||
function transformFunctionBody(node: MethodDeclaration | AccessorDeclaration | FunctionDeclaration | FunctionExpression): FunctionBody {
|
||||
// if (isAsyncFunctionLike(node) && languageVersion < ScriptTarget.ES2017) {
|
||||
// return <FunctionBody>transformAsyncFunctionBody(node);
|
||||
// }
|
||||
|
||||
return transformFunctionBodyWorker(node.body);
|
||||
}
|
||||
|
||||
@ -2267,10 +2263,6 @@ namespace ts {
|
||||
}
|
||||
|
||||
function transformConciseBody(node: ArrowFunction): ConciseBody {
|
||||
// if (isAsyncFunctionLike(node) && languageVersion < ScriptTarget.ES2017) {
|
||||
// return transformAsyncFunctionBody(node);
|
||||
// }
|
||||
|
||||
return transformConciseBodyWorker(node.body, /*forceBlockFunctionBody*/ false);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user