mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-19 10:41:56 -05:00
Don't case on type node
This commit is contained in:
@@ -390,7 +390,6 @@ namespace ts.codefix {
|
||||
const shouldReturn = transformer.setOfExpressionsToReturn.get(getNodeId(parent).toString());
|
||||
switch (func.kind) {
|
||||
case SyntaxKind.NullKeyword:
|
||||
case SyntaxKind.UndefinedKeyword:
|
||||
// do not produce a transformed statement for a null or undefined argument
|
||||
break;
|
||||
case SyntaxKind.Identifier:
|
||||
|
||||
Reference in New Issue
Block a user