(node)
| 46061 | } |
| 46062 | } |
| 46063 | function bindBindingElementFlow(node) { |
| 46064 | if (ts.isBindingPattern(node.name)) { |
| 46065 | // When evaluating a binding pattern, the initializer is evaluated before the binding pattern, per: |
| 46066 | // - https://tc39.es/ecma262/#sec-destructuring-binding-patterns-runtime-semantics-iteratorbindinginitialization |
| 46067 | // - `BindingElement: BindingPattern Initializer?` |
| 46068 | // - https://tc39.es/ecma262/#sec-runtime-semantics-keyedbindinginitialization |
| 46069 | // - `BindingElement: BindingPattern Initializer?` |
| 46070 | bindEach(node.decorators); |
| 46071 | bindEach(node.modifiers); |
| 46072 | bind(node.dotDotDotToken); |
| 46073 | bind(node.propertyName); |
| 46074 | bind(node.initializer); |
| 46075 | bind(node.name); |
| 46076 | } |
| 46077 | else { |
| 46078 | bindEachChild(node); |
| 46079 | } |
| 46080 | } |
| 46081 | function bindJSDocTypeAlias(node) { |
| 46082 | bind(node.tagName); |
| 46083 | if (node.kind !== 339 /* SyntaxKind.JSDocEnumTag */ && node.fullName) { |
no test coverage detected