* For nodes like `x.y = z`, declare a member 'y' on 'x' if x is a function (or IIFE) or class or {}, or not declared. * Also works for expression statements preceded by JSDoc, like / ** @type number * / x.y;
(node)
| 47361 | * Also works for expression statements preceded by JSDoc, like / ** @type number * / x.y; |
| 47362 | */ |
| 47363 | function bindStaticPropertyAssignment(node) { |
| 47364 | ts.Debug.assert(!ts.isIdentifier(node)); |
| 47365 | ts.setParent(node.expression, node); |
| 47366 | bindPropertyAssignment(node.expression, node, /*isPrototypeProperty*/ false, /*containerIsClass*/ false); |
| 47367 | } |
| 47368 | function bindPotentiallyMissingNamespaces(namespaceSymbol, entityName, isToplevel, isPrototypeProperty, containerIsClass) { |
| 47369 | if ((namespaceSymbol === null || namespaceSymbol === void 0 ? void 0 : namespaceSymbol.flags) & 2097152 /* SymbolFlags.Alias */) { |
| 47370 | return namespaceSymbol; |
no test coverage detected