(context: TypeContext)
| 6543 | type TypeContext = Node | { node: Node; parent: TypeContext } |
| 6544 | |
| 6545 | const contextNodeOf = (context: TypeContext): Node => |
| 6546 | "node" in context ? contextNodeOf(context.parent) : context |
| 6547 | |
| 6548 | const hasInferType = (node: Node): boolean => { |
| 6549 | if (node.type === "TSInferType") return true |