We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a72da7 commit f7f5b1aCopy full SHA for f7f5b1a
src/services/codefixes/convertToAsyncFunction.ts
@@ -390,7 +390,6 @@ namespace ts.codefix {
390
const shouldReturn = transformer.setOfExpressionsToReturn.get(getNodeId(parent).toString());
391
switch (func.kind) {
392
case SyntaxKind.NullKeyword:
393
- case SyntaxKind.UndefinedKeyword:
394
// do not produce a transformed statement for a null or undefined argument
395
break;
396
case SyntaxKind.Identifier:
0 commit comments