(node, contextFlags)
| 72514 | return undefined; |
| 72515 | } |
| 72516 | function getContextualTypeForAwaitOperand(node, contextFlags) { |
| 72517 | var contextualType = getContextualType(node, contextFlags); |
| 72518 | if (contextualType) { |
| 72519 | var contextualAwaitedType = getAwaitedTypeNoAlias(contextualType); |
| 72520 | return contextualAwaitedType && getUnionType([contextualAwaitedType, createPromiseLikeType(contextualAwaitedType)]); |
| 72521 | } |
| 72522 | return undefined; |
| 72523 | } |
| 72524 | function getContextualTypeForYieldOperand(node) { |
| 72525 | var func = ts.getContainingFunction(node); |
| 72526 | if (func) { |
no test coverage detected