()
| 674 | } |
| 675 | |
| 676 | private functionScope(): Scope { |
| 677 | let scope = this.scope |
| 678 | while (scope.parent && !(scope.node.type in varScopeKinds)) |
| 679 | scope = scope.parent |
| 680 | return scope |
| 681 | } |
| 682 | } |
| 683 | |
| 684 | type ArrowFunctionNode = Extract<Node, { type: "ArrowFunctionExpression" }> |