(node)
| 70046 | return isLengthPushOrUnshift || isElementAssignment; |
| 70047 | } |
| 70048 | function isDeclarationWithExplicitTypeAnnotation(node) { |
| 70049 | return (ts.isVariableDeclaration(node) || ts.isPropertyDeclaration(node) || ts.isPropertySignature(node) || ts.isParameter(node)) && |
| 70050 | !!(ts.getEffectiveTypeAnnotationNode(node) || |
| 70051 | ts.isInJSFile(node) && ts.hasInitializer(node) && node.initializer && ts.isFunctionExpressionOrArrowFunction(node.initializer) && ts.getEffectiveReturnTypeNode(node.initializer)); |
| 70052 | } |
| 70053 | function getExplicitTypeOfSymbol(symbol, diagnostic) { |
| 70054 | if (symbol.flags & (16 /* SymbolFlags.Function */ | 8192 /* SymbolFlags.Method */ | 32 /* SymbolFlags.Class */ | 512 /* SymbolFlags.ValueModule */)) { |
| 70055 | return getTypeOfSymbol(symbol); |
no outgoing calls
no test coverage detected
searching dependent graphs…