(symbol)
| 56859 | return links.type; |
| 56860 | } |
| 56861 | function getWriteTypeOfSymbolWithDeferredType(symbol) { |
| 56862 | var links = getSymbolLinks(symbol); |
| 56863 | if (!links.writeType && links.deferralWriteConstituents) { |
| 56864 | ts.Debug.assertIsDefined(links.deferralParent); |
| 56865 | ts.Debug.assertIsDefined(links.deferralConstituents); |
| 56866 | links.writeType = links.deferralParent.flags & 1048576 /* TypeFlags.Union */ ? getUnionType(links.deferralWriteConstituents) : getIntersectionType(links.deferralWriteConstituents); |
| 56867 | } |
| 56868 | return links.writeType; |
| 56869 | } |
| 56870 | /** |
| 56871 | * Distinct write types come only from set accessors, but synthetic union and intersection |
| 56872 | * properties deriving from set accessors will either pre-compute or defer the union or |
no test coverage detected