(node)
| 47280 | } |
| 47281 | } |
| 47282 | function bindSpecialPropertyDeclaration(node) { |
| 47283 | if (node.expression.kind === 108 /* SyntaxKind.ThisKeyword */) { |
| 47284 | bindThisPropertyAssignment(node); |
| 47285 | } |
| 47286 | else if (ts.isBindableStaticAccessExpression(node) && node.parent.parent.kind === 305 /* SyntaxKind.SourceFile */) { |
| 47287 | if (ts.isPrototypeAccess(node.expression)) { |
| 47288 | bindPrototypePropertyAssignment(node, node.parent); |
| 47289 | } |
| 47290 | else { |
| 47291 | bindStaticPropertyAssignment(node); |
| 47292 | } |
| 47293 | } |
| 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); |
no test coverage detected