Skip to content

Commit f7f5b1a

Browse files
author
Benjamin Lichtman
committed
Don't case on type node
1 parent 5a72da7 commit f7f5b1a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/services/codefixes/convertToAsyncFunction.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,6 @@ namespace ts.codefix {
390390
const shouldReturn = transformer.setOfExpressionsToReturn.get(getNodeId(parent).toString());
391391
switch (func.kind) {
392392
case SyntaxKind.NullKeyword:
393-
case SyntaxKind.UndefinedKeyword:
394393
// do not produce a transformed statement for a null or undefined argument
395394
break;
396395
case SyntaxKind.Identifier:

0 commit comments

Comments
 (0)