(symbol)
| 86935 | return isValue && node.moduleReference && !ts.nodeIsMissing(node.moduleReference); |
| 86936 | } |
| 86937 | function isAliasResolvedToValue(symbol) { |
| 86938 | if (!symbol) { |
| 86939 | return false; |
| 86940 | } |
| 86941 | var target = getExportSymbolOfValueSymbolIfExported(resolveAlias(symbol)); |
| 86942 | if (target === unknownSymbol) { |
| 86943 | return true; |
| 86944 | } |
| 86945 | // const enums and modules that contain only const enums are not considered values from the emit perspective |
| 86946 | // unless 'preserveConstEnums' option is set to true |
| 86947 | return !!(target.flags & 111551 /* SymbolFlags.Value */) && |
| 86948 | (ts.shouldPreserveConstEnums(compilerOptions) || !isConstEnumOrConstEnumOnlyModule(target)); |
| 86949 | } |
| 86950 | function isConstEnumOrConstEnumOnlyModule(s) { |
| 86951 | return isConstEnumSymbol(s) || !!s.constEnumOnlyModule; |
| 86952 | } |
no test coverage detected
searching dependent graphs…