Remove unnecessary case
This commit is contained in:
parent
d12110d3e5
commit
e700022cef
1 changed files with 0 additions and 4 deletions
|
@ -520,10 +520,6 @@ namespace ts.codefix {
|
|||
name = getMapEntryIfExists(param);
|
||||
}
|
||||
}
|
||||
// currently not relevant, since we don't produce a valid transformation if the argument to a promise operation is a CallExpression
|
||||
else if (isCallExpression(funcNode) && funcNode.arguments.length > 0 && isIdentifier(funcNode.arguments[0])) {
|
||||
name = { identifier: funcNode.arguments[0] as Identifier, types, numberOfAssignmentsOriginal };
|
||||
}
|
||||
else if (isIdentifier(funcNode)) {
|
||||
name = getMapEntryIfExists(funcNode);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue