For `x.prototype = { p, ... }`, declare members p,... if `x` is function/class/{}, or not declared.
(node)
| 47294 | } |
| 47295 | /** For `x.prototype = { p, ... }`, declare members p,... if `x` is function/class/{}, or not declared. */ |
| 47296 | function bindPrototypeAssignment(node) { |
| 47297 | ts.setParent(node.left, node); |
| 47298 | ts.setParent(node.right, node); |
| 47299 | bindPropertyAssignment(node.left.expression, node.left, /*isPrototypeProperty*/ false, /*containerIsClass*/ true); |
| 47300 | } |
| 47301 | function bindObjectDefinePrototypeProperty(node) { |
| 47302 | var namespaceSymbol = lookupSymbolForPropertyAccess(node.arguments[0].expression); |
| 47303 | if (namespaceSymbol && namespaceSymbol.valueDeclaration) { |
no test coverage detected