Removed pointlessish overloads.

This commit is contained in:
Daniel Rosenwasser 2016-09-27 14:36:17 -07:00
parent f8fbc22ef2
commit fb4b503834

View File

@ -1290,8 +1290,6 @@ namespace ts {
}
}
function captureThisForNode(statements: Statement[], node: Node, initializer: Expression | undefined): void;
function captureThisForNode(statements: Statement[], node: Node, initializer: Expression | undefined, originalStatement: Statement): void;
function captureThisForNode(statements: Statement[], node: Node, initializer: Expression | undefined, originalStatement?: Statement): void {
enableSubstitutionsForCapturedThis();
const captureThisStatement = createVariableStatement(