mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 20:25:23 -06:00
Don't case on type node
This commit is contained in:
parent
5a72da76c2
commit
f7f5b1ac87
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user