(assignment, usage)
| 157239 | } |
| 157240 | } |
| 157241 | function inferTypeFromPropertyAssignment(assignment, usage) { |
| 157242 | var nodeWithRealType = ts.isVariableDeclaration(assignment.parent.parent) ? |
| 157243 | assignment.parent.parent : |
| 157244 | assignment.parent; |
| 157245 | addCandidateThisType(usage, checker.getTypeAtLocation(nodeWithRealType)); |
| 157246 | } |
| 157247 | function inferTypeFromPropertyDeclaration(declaration, usage) { |
| 157248 | addCandidateThisType(usage, checker.getTypeAtLocation(declaration.parent)); |
| 157249 | } |
no test coverage detected