(symbol)
| 56529 | } |
| 56530 | } |
| 56531 | function getTypeOfVariableOrParameterOrProperty(symbol) { |
| 56532 | var links = getSymbolLinks(symbol); |
| 56533 | if (!links.type) { |
| 56534 | var type = getTypeOfVariableOrParameterOrPropertyWorker(symbol); |
| 56535 | // For a contextually typed parameter it is possible that a type has already |
| 56536 | // been assigned (in assignTypeToParameterAndFixTypeParameters), and we want |
| 56537 | // to preserve this type. |
| 56538 | if (!links.type) { |
| 56539 | links.type = type; |
| 56540 | } |
| 56541 | } |
| 56542 | return links.type; |
| 56543 | } |
| 56544 | function getTypeOfVariableOrParameterOrPropertyWorker(symbol) { |
| 56545 | // Handle prototype property |
| 56546 | if (symbol.flags & 4194304 /* SymbolFlags.Prototype */) { |
no test coverage detected