(type)
| 55716 | return type && (type.flags & 1 /* TypeFlags.Any */) !== 0; |
| 55717 | } |
| 55718 | function isErrorType(type) { |
| 55719 | // The only 'any' types that have alias symbols are those manufactured by getTypeFromTypeAliasReference for |
| 55720 | // a reference to an unresolved symbol. We want those to behave like the errorType. |
| 55721 | return type === errorType || !!(type.flags & 1 /* TypeFlags.Any */ && type.aliasSymbol); |
| 55722 | } |
| 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) { |
no outgoing calls
no test coverage detected
searching dependent graphs…