(thisArgumentNode)
| 75459 | return getInferredTypes(context); |
| 75460 | } |
| 75461 | function getThisArgumentType(thisArgumentNode) { |
| 75462 | if (!thisArgumentNode) { |
| 75463 | return voidType; |
| 75464 | } |
| 75465 | var thisArgumentType = checkExpression(thisArgumentNode); |
| 75466 | return ts.isOptionalChainRoot(thisArgumentNode.parent) ? getNonNullableType(thisArgumentType) : |
| 75467 | ts.isOptionalChain(thisArgumentNode.parent) ? removeOptionalTypeMarker(thisArgumentType) : |
| 75468 | thisArgumentType; |
| 75469 | } |
| 75470 | function inferTypeArguments(node, signature, args, checkMode, context) { |
| 75471 | if (ts.isJsxOpeningLikeElement(node)) { |
| 75472 | return inferJsxTypeArguments(node, signature, checkMode, context); |
no test coverage detected
searching dependent graphs…