(node, checkMode)
| 55723 | // Return the type of a binding element parent. We check SymbolLinks first to see if a type has been |
| 55724 | // assigned by contextual typing. |
| 55725 | function getTypeForBindingElementParent(node, checkMode) { |
| 55726 | if (checkMode !== 0 /* CheckMode.Normal */) { |
| 55727 | return getTypeForVariableLikeDeclaration(node, /*includeOptionality*/ false, checkMode); |
| 55728 | } |
| 55729 | var symbol = getSymbolOfNode(node); |
| 55730 | return symbol && getSymbolLinks(symbol).type || getTypeForVariableLikeDeclaration(node, /*includeOptionality*/ false, checkMode); |
| 55731 | } |
| 55732 | function getRestType(source, properties, symbol) { |
| 55733 | source = filterType(source, function (t) { return !(t.flags & 98304 /* TypeFlags.Nullable */); }); |
| 55734 | if (source.flags & 131072 /* TypeFlags.Never */) { |
no test coverage detected
searching dependent graphs…